ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <mwom...@bevocal.com>
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.

-Mark

-----Original Message-----
From: Zhendi Su [mailto:rachael.su@oracle.com]
Sent: Monday, February 04, 2002 1:54 PM
To: ant-user@jakarta.apache.org
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message