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.

-Mark

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


Hi,

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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to