ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rogers <jacae...@yahoo.com>
Subject RE: How do you version jar files?
Date Fri, 16 Nov 2001 12:20:45 GMT
Not true.  You can have the value attribute of <attribute>
be a variable that you pass in on the command line.

<attribute name="JarVersion" value="${jar.version}" />

-jason

--- Bacardi Wasabi <sethu_ant@yahoo.com> wrote:
> build.xml
> 
>  <jar jarfile="${dest1}/lib/app.jar"
> basedir="${dest}">
>  <manifest>
>          <attribute name="JarVersion" value="1.1"/>
>  </manifest>
>  </jar>
> 
> manulay edit every build
> 
> Manifest-Version: 1.0
> JarVersion: 1.1
> Created-By: Ant 1.4.1
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


=====
-----------------------------------------
             Keep it simple...
(1 Corinthians 2:2, Galatians 2:20, 6:14)

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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


Mime
View raw message