Browse Source

document using a filenamemapper type in place of the mapper element

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277158 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
4fed10f736
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      docs/manual/CoreTasks/copy.html

+ 5
- 3
docs/manual/CoreTasks/copy.html View File

@@ -151,6 +151,10 @@ sets of files to copy.
href="../CoreTypes/mapper.html">mapper</a> element. The default mapper used by href="../CoreTypes/mapper.html">mapper</a> element. The default mapper used by
<code>&lt;copy&gt;</code> is the <a <code>&lt;copy&gt;</code> is the <a
href="../CoreTypes/mapper.html#identity-mapper">identity mapper</a>.</p> href="../CoreTypes/mapper.html#identity-mapper">identity mapper</a>.</p>
<p>
<em>Since Ant 1.6.3</em>,
one can use a filenamemapper type in place of the mapper element.
</p>


<h4>filterset</h4> <h4>filterset</h4>
<p><a href="../CoreTypes/filterset.html">FilterSet</a>s are used to replace <p><a href="../CoreTypes/filterset.html">FilterSet</a>s are used to replace
@@ -199,9 +203,7 @@ followed by <code>&lt;filterset&gt;</code> elements.
<pre> <pre>
&lt;copy todir=&quot;../backup/dir&quot;&gt; &lt;copy todir=&quot;../backup/dir&quot;&gt;
&lt;fileset dir=&quot;src_dir&quot;/&gt; &lt;fileset dir=&quot;src_dir&quot;/&gt;
&lt;mapper&gt;
&lt;globmapper from=&quot;*&quot; to=&quot;*.bak&quot;/&gt;
&lt;/mapper&gt;
&lt;globmapper from=&quot;*&quot; to=&quot;*.bak&quot;/&gt;
&lt;/copy&gt; &lt;/copy&gt;
</pre> </pre>




Loading…
Cancel
Save