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: setting source version in war file
Date Thu, 04 Jan 2007 09:37:47 GMT
<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


Mime
View raw message