Robert Hanson wrote: > > 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}"> > This syntax is wrong. Never nest the $ for NAnt expressions. To be syntactically correct, this should be
test="${file::up-to-date(idlFile, cppTarget)}" Gary ------------------------------------------------------------------------- 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