|
|
@@ -205,6 +205,27 @@ configurable file system timestamp granularity.</p> |
|
|
|
</pre> |
|
|
|
<p>"Deletes" files from a zipfile.</p> |
|
|
|
|
|
|
|
<pre> |
|
|
|
<unzip src="${ant.home}/lib/ant.jar" dest="..."> |
|
|
|
<patternset> |
|
|
|
<include name="images/"/> |
|
|
|
</patternset> |
|
|
|
</unzip> |
|
|
|
</pre> |
|
|
|
<p>This extracts all images from <tt>ant.jar</tt> which are stored in the <tt>images</tt> directory |
|
|
|
of the Jar (or somewhere under it). While extracting the directory structure (<tt>images</tt>) |
|
|
|
will be taken.</p> |
|
|
|
|
|
|
|
<pre> |
|
|
|
<unzip src="${ant.home}/lib/ant.jar" dest="..."> |
|
|
|
<patternset> |
|
|
|
<include name="**/ant_logo_large.gif"/> |
|
|
|
<include name="**/LICENSE.txt"/> |
|
|
|
</patternset> |
|
|
|
</unzip> |
|
|
|
</pre> |
|
|
|
<p>This extracts the two files <tt>ant_logo_large.gif</tt> and <tt>LICENSE.txt</tt> from the |
|
|
|
<tt>ant.jar</tt>. More exactly: it extracts all files with these names from anywhere in the source file. While extracting the directory structure will be taken.</p> |
|
|
|
|
|
|
|
</body> |
|
|
|
</html> |