Use:

 

<if test=”${file::up-to-date(idlFile, cppTarget)}” >

</if>

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hanson
Sent: Thursday, August 17, 2006 1:02 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] How do I rewrite this?

 

idlFile and cppTarget are nant properties.

 

<if verbose="true" uptodatefile="${idlFile}" comparefile="${cppTarget}">

 

It suggests using the following:

       [if] C:\projects\Mater\root\build projects\nant.build(253,4): Attribute 'uptodatefile' for <if ... /> is deprecated.  Use <if test="${file::up-to-date(comparefile, uptodatefile)}"> instead.

 

Can I just use

<if test="${file::up-to-date("${idlFile}", "${cppTarget}">

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to