Not sure about the first question, but as for ifnot, replace with the following:

 

<if test="true" unless="${property::exists(' buildtarget ')}">

            //TODO:  Stuff

</if>

 

Kind of hoaky, but it works :)

 


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