Hi,
I get a weird error when I am using the following statements.
___________________________________________
<target name="build-tstamp">
<tstamp>
<format property="TODAY" pattern="mmddyyyy"/>
</tstamp>
<echo message="The value of TODAY is : ${TODAY}"/>
</target>
___________________________________________
The date is field is OK but the month field keeps getting all junk values,
let me see if it mnakes difference if it is initialized to 0 in properties.
I need to use this for tagging my code while I check it out.
_____________________________________________
Total time: 1 second
C:\CVS1\builder>ant build-tstamp
Buildfile: build.xml
build-tstamp:
[echo] The value of TODAY is : 24202001
BUILD SUCCESSFUL
Total time: 1 second
C:\CVS1\builder>ant build-tstamp
Buildfile: build.xml
build-tstamp:
[echo] The value of TODAY is : 25202001
BUILD SUCCESSFUL
Total time: 1 second1
__________________________________________
Regards,
Viraj Purang