Actually, for the first part of your question, check out

 

${int::parse(value)}

 

Looks like the functions are attempting to take on a more .NET look :)  Considering you should never use the Convert static methods unless you ABSOLUTELY have to because they are inefficient.

 

Steve

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan
Sent: November 1, 2005 6:08 AM
To: [email protected]
Subject: [Nant-users] convert::to-int deprecated

 

Hi all,

 

If the line below is deprecated then what would the new syntax be?

 

${convert::to-int(phasenumber) > 1}


I also have the same problem with <ifnot>

 

What would the syntax be for the following be:

 

            <ifnot propertyexists="buildtarget">

                        <property name="buildtargetcode" value="development" readonly="true" />

            </ifnot>

 

Thanks


Paul

 


_____________________________________________________________________
VirusChecked for Huntsworth plc
_____________________________________________________________________


This Message Scanned for Viruses by McAfee WebShield .

Reply via email to