ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <>
Subject RE: specifying date and time in ant
Date Mon, 04 Feb 2002 21:56:04 GMT
Take a look at the <tstamp> task.  You can set a property using it and then
use the property in the name of the jar.


-----Original Message-----
From: Zhendi Su []
Sent: Monday, February 04, 2002 1:54 PM
Subject: specifying date and time in ant


I am wondering how I can tell ant to specify the current date and time.
For example, if I want to create a file with the current date and time
as its file name (e.g. myfile_02_04_01_53.jar) , how should I do it?
Thanks a lot!

Zhendi Su

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message