<war ...>
<manifest>
<attribute name="Version" value="${myapp.version}"/>
<manifest>
</war>
Oh - the use of manifest is not documented in the manual.
<war> extends <jar>, so you could use it.
Jan
>-----Ursprüngliche Nachricht-----
>Von: Raghu [mailto:raghuveerv@infotechsw.com]
>Gesendet: Donnerstag, 4. Januar 2007 10:35
>An: user@ant.apache.org
>Betreff: setting source version in war file
>
>It is required for me to identify the source version of my war file.
>
>Example:
>
>Test.war - 1.0 version
>Test.war - 1.1 version
>Test.war - 1.2 version
>
>Imagine I made war file from build.xml.
>This war file if unjared then from manifest file I need to
>identify the version of source code.
>
>so, How to set the source version to my war file ?
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|