Hi,
   I am trying to Use NANT Functions. Mainly i want to get the current date so 
that i can dynamically create logfiles with using date timestamp
do I need to configure nant or Environment variables to use NANT functions

Here is my Nant.build file

<?xml version="1.0" ?>
<project default="NantFunctions" 
xmlns="http://nant.sf.net/schemas/nant-0.84.win32.net-1.0.xsd";>
        <property name="CurrentTime" value="${datetime::now()}" />

        <target name="NantFunctions">           
                <echo message="${CurrentTime}" />                       
        </target>       
</project>
-----------------------
I get the following Errors

C://MyTest>nant
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C://MyTest/Nant.build
Target(s) specified: NantFunctions

BUILD FAILED

C://MyTest\Nant.build(3,3):

Property 'datetime::now()' has not been set.

Total time: 0 seconds.



Thanks
Balaji

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to