ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: not able to add timestamp task in build.xml
Date Tue, 20 Mar 2007 13:49:04 GMT
Please keep on the list.

>  I am doing the following
>
>
><tstamp prefix="start">
>  <format property="TODAY" pattern="EEEE, MMM dd, yyyy"/>
>  <format property="TIME" pattern="hh:mm a"/>
>  </tstamp>
> <echo message="This Ant script began executing at ${start.TIME} on
>${start.TODAY}."/>
>
> But i need the timestamp in some file U get my point?


Just echo out to file ... 

 <echo message="This Ant script began executing at ${start.TIME} on
${start.TODAY}."
       file="tstamp.log"
 />


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message