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: Accessing the manifest within a jar file
Date Thu, 02 Nov 2006 07:48:15 GMT
>> I do not know the jarlib tasks.
>> What are they ?
>
>Optional tasks already in Ant and the manual. I think Conor 
>may have added them, but I could be wrong. --DD

Didnt knew them neiter ... but they are there ;-)
- Jarlib-available
- Jarlib-display
- Jarlib-manifest
- Jarlib-resolve




>Thanks for the resource plug, Ivan.  :) Alternatively, 
>assuming ${jar} points to the relevant jar file, you could use
>
><url url="jar:file:///${jar}!/META-INF/MANIFEST.MF" />
>
>or
>
><javaresource name="META-INF/MANIFEST.MF"
>classpath="${jar}" />

Mmh ... a classpath could contain (usually has) more than one jar-entry
and most jars have
a manifest file .... would that <javaresource> return multiple
resources?


Jan

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


Mime
View raw message