From 5447ff9d10c96f7270500cc2d214fd22d1be7ac8 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Tue, 24 Oct 2006 15:38:28 +0000 Subject: [PATCH] Have found a nice example in an archived mail... git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467359 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/unzip.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/manual/CoreTasks/unzip.html b/docs/manual/CoreTasks/unzip.html index 58ca5beb2..ff395e3b7 100644 --- a/docs/manual/CoreTasks/unzip.html +++ b/docs/manual/CoreTasks/unzip.html @@ -161,13 +161,18 @@ is identical to

The same is also true for <untar> and <tarfileset>. <copy> offers -additional features like filtering files on the fly, +additional features like filtering files on the fly, allowing a file to be mapped to multiple destinations or a configurable file system timestamp granularity.

+
<zip destfile="new.jar">
+  <zipfileset src="old.jar">
+    <exclude name="do/not/include/this/class"/>
+  </zipfileset>
+</zip>
+
+

"Deletes" files from a zipfile.

-