|
|
@@ -122,7 +122,7 @@ Prior to Ant 1.7 only fileset has been supported as a nested element.</p> |
|
|
|
<h3>Related tasks</h3> |
|
|
|
|
|
|
|
<pre> |
|
|
|
<unzip src="some-archive" dest="some-dir"< |
|
|
|
<unzip src="some-archive" dest="some-dir"> |
|
|
|
<patternset> |
|
|
|
<include name="some-pattern"/> |
|
|
|
</patternset> |
|
|
@@ -133,7 +133,7 @@ Prior to Ant 1.7 only fileset has been supported as a nested element.</p> |
|
|
|
is identical to |
|
|
|
|
|
|
|
<pre> |
|
|
|
<copy todir="some-dir" preservelastmodified="true"< |
|
|
|
<copy todir="some-dir" preservelastmodified="true"> |
|
|
|
<zipfileset src="some-archive"> |
|
|
|
<patternset> |
|
|
|
<include name="some-pattern"/> |
|
|
@@ -146,7 +146,7 @@ is identical to |
|
|
|
<p>The same is also true for <code><untar></code> and |
|
|
|
<code><tarfileset></code>. <code><copy></code> offers |
|
|
|
additional features like <a |
|
|
|
href="../CoreTypes/filterchains.html">filtering files</a> on the fly, |
|
|
|
href="../CoreTypes/filterchain.html">filtering files</a> on the fly, |
|
|
|
allowing a file to be mapped to multiple destinations or a |
|
|
|
configurable file system timestamp granularity.</p> |
|
|
|
|
|
|
|