ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Updating Manifest Files
Date Thu, 24 Jul 2003 06:42:21 GMT
On Wed, 23 Jul 2003, Vikas Phonsa <VPhonsa@suz.com> wrote:

> How can have ant to automatically update the Manifest File every
> time I do a build so that the Manifest file would have the current
> time stamp as the Version Number/Tag of the jars to be created.

Use the <manifest> task, something like

<tstamp/>
<manifest file="..." mode="update">
  <attribute name="Timestamp" value="${TSTAMP}"/>
</manifest>

Stefan

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


Mime
View raw message