Are you sure you're using a nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) ?
Gert ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 18, 2004 4:01 PM Subject: [Nant-users] non of the nant functions see to work????? > > Hi I seem to be having problems with nant functions the following lines > always throw errors...... (without these functions my builds work > perfectly) > > <echo message="The current date is: ${datetime::now()}" /> > error: Property 'datetime::now()' has not been set > > <if test="${not file::exists('c:\pagefile.sys)}"> > <echo message="exists"/> > </if> > error: [if] at least one if condition must be set > (propertytrue, targetexists, etc...) > > > <echo message="${file::exists('C:\pagefile.sys')}"/> > error: Property 'file::exists('C:\pagefile.sys')' has not > been set. > > > Help greatly appreciated > > > > ________________________________________________________________________ > The information in this e-mail, and any attachment therein, is confidential and for use by the addressee only. If you are not the intended recipient, please return the e-mail to the sender and delete it from your computer. Although The Bank of New York attempts to sweep e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users