ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dijk, G.J. van (Gerard)" <>
Subject How to extract files from jar and add to jar with jar task
Date Fri, 05 Apr 2002 12:53:11 GMT
Hello Ant users,
The zip task supports the <zipfileset> element.
With the <zipfileset> attribute 'src' one can extract the contents of a zip
file and include it in a zip archive.
I would like to do the analogous with jar, i.e. extract the contents of a
jar file and include it in a jar archive.
The ant manual chapter 'jar' states:
"The extended fileset attributes from the zip task are also available in the
jar task."
I have tried a number of variations but none succeeded. 
Any suggestions?
With kind regards
Gerard van Dijk, an Ant novice
Akzo Nobel Systems
Pres.Kennedylaan 104
6883 AX  Velp
Tel: +(31) 26 3845824
Fax: +(31) 263845840
Email: <> 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message