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

Reply via email to