ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RADEMAKERS Tanguy" <>
Subject RE: Remove entru from ZIP file using ANT
Date Tue, 12 Feb 2008 10:43:57 GMT
Hello Walter,

Don't think there's a one-step way to do this via the update="true"
attribute , but you could do it like this:

1. unzip archive into a temp folder
2. delete the archive
3. delete the file(s) you don't want from the temp folder
4. rezip the contents of the temp folder into a new zip.

long winded, but should be fine unless you have some **huge** archives.


>-----Original Message-----
>Sent: Tuesday, February 12, 2008 7:40 AM
>Subject: Remove entru from ZIP file using ANT
>Is there a possibility in ANT to remove an entry from ZIP 
>resource? Or do 
>I need to write my own task for that?
>Kind regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message