ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Delete entry from zip?
Date Thu, 10 Apr 2003 06:00:21 GMT
On Wed, 09 Apr 2003, Adam M. <adamm@sitraka.com> wrote:

> With the current release, is it possible to delete an entry from a
> zip/jar/war file, without expanding it to a temp directory?

Yes, sort of.

<zip destfile="new.zip">
  <zipfileset src="original.zip">
    <exclude name="path/of/thing/to/exclude"/>
  </zipfileset>
</zip>

Stefan

Mime
View raw message