ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guofeng Zhang" <>
Subject How to get the current time?
Date Tue, 30 Dec 2003 03:21:14 GMT

I want to store the current time in jar's MANIFEST.MF. but I can not know how to get it in
the ant.

The following is what I know, but it won't work. It always display '{touch.time}', not the

  <tstamp prefix="start">
      <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />

<echo message="{touch.time}" />

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

View raw message