ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Andrew.Beac...@nokia.com>
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 -->
    <tstamp>
        <format property="time.start" pattern="HH:mm MMMM d, yyyy"/>
    </tstamp>

Andy.

--
Andrew Beacock
Senior Software Engineer/Project Lead
Nokia Mobile Phones
NMP/MSW/SSP/AG

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