ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: Delete file inside a warfile
Date Thu, 11 Jun 2009 22:14:38 GMT
Knuplesch, Juergen schrieb am 03.06.2009 um 17:55:49 (+0200):

> It would be nice just to delete sth. Out of a jar/war etc. without the
> need to copy the wars around.

Moin J├╝rgen,

in-situ updates are possible, in-situ deletions aren't. See:

http://java.sun.com/docs/books/tutorial/deployment/jar/update.html

For programmatic usage, I'd give the following classes a try, which
should allow you to hook in a filter to achieve what you want:

* java.util.zip.ZipInputStream
* java.util.zip.ZipOutputStream

Michael Ludwig

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


Mime
View raw message