ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aarti Chandnani <>
Subject RE: How to update a jar?
Date Wed, 09 May 2001 22:50:28 GMT
i think you can do this:

move file="lib/myarchive.jar" tofile="lib/tmp.jar" />
<jar jarfile="lib/myarchive.jar" ... >
  <fileset dir="." includes="my/package/name/" />
  <zipfileset src="lib/tmp.jar" includes="**" />
<delete file="lib/tmp.jar" />

use the zipfileset just the way above
and instead of jar call zip!

-----Original Message-----
From: Jon Skeet []
Sent: Wednesday, May 09, 2001 3:48 PM
Subject: RE: How to update a jar?

> use zip task instead 
> its like jar but doesnt create the manifest file! 

The jar task actually extends the zip task, IIRC. Does the zip
task have update features? I didn't think so, but I could be 


View raw message