ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: specifying date and time in ant
Date Thu, 07 Feb 2002 16:40:42 GMT
Zhendi Su,

> 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.

Just to add a little more, and an easy to understand example...

    <!-- format the current date & time -->
        <format property="time.start" pattern="HH:mm MMMM d, yyyy"/>


Andrew Beacock
Senior Software Engineer/Project Lead
Nokia Mobile Phones

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

View raw message