Browse Source

Use new mapper syntax in an example, submitted by Russel Gold

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

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

@@ -199,7 +199,9 @@ 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 type=&quot;glob&quot; from=&quot;*&quot; to=&quot;*.bak&quot;/&gt;
&lt;mapper&gt;
&lt;globmapper from=&quot;*&quot; to=&quot;*.bak&quot;/&gt;
&lt;/mapper&gt;
&lt;/copy&gt; &lt;/copy&gt;
</pre> </pre>




Loading…
Cancel
Save