ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt" <mathews_jul...@hotmail.com>
Subject RE: Getting attribute/field from a manifest file
Date Thu, 24 Jul 2003 20:30:47 GMT
Thanks Melissa and Anotine, 

I can atleast load and get the properties from the manifest file.

Matt

-----Original Message-----
From: Antoine Levy-Lambert [mailto:antoine@antbuild.com] 
Sent: Thursday, July 24, 2003 12:13 PM
To: Ant Users List
Subject: Re: Getting attribute/field from a manifest file

you might try to read in your manifest file
<property file="Manifest.mf"/>
not sure if everything in a manifest looks like a property file
(folding,
...)
worth a try though.
Antoine
----- Original Message -----
From: "Matt" <mathews_julien@hotmail.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Thursday, July 24, 2003 9:03 PM
Subject: Getting attribute/field from a manifest file


> Hi
>
> In my ant build script I am updating the version number manually in
the
> external manifest file that I am using for the jars to be made.
>
> <attribute name="Manifest-Version" value="${version.no}"/>
>
>
> I want to write another ant script where I need to get this
> "Manifest-Version" from the MANIFEST.MF file located physically in
> META-INF folder in my project, to use as a tag for my versions to be
put
> on CVS.
>
> How can I extract the "Manifest-Version" from the manifest file.
>
> Please guide.
>
> Matt
>
>
>
> ---------------------------------------------------------------------
> 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


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


Mime
View raw message