ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guofeng Zhang" <guofengzh...@visionnex.com>
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
date.

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

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


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


Mime
View raw message