ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/docs/manual/CoreTasks copy.html
Date Fri, 10 Dec 2004 13:17:51 GMT
peterreilly    2004/12/10 05:17:51

  Modified:    docs/manual/CoreTasks copy.html
  Log:
  document using a filenamemapper type in place of the mapper element
  
  Revision  Changes    Path
  1.29      +5 -3      ant/docs/manual/CoreTasks/copy.html
  
  Index: copy.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/copy.html,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- copy.html	7 Dec 2004 23:42:41 -0000	1.28
  +++ copy.html	10 Dec 2004 13:17:51 -0000	1.29
  @@ -151,6 +151,10 @@
    href="../CoreTypes/mapper.html">mapper</a> element. The default mapper used by
    <code>&lt;copy&gt;</code> is the <a
    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>
    <p><a href="../CoreTypes/filterset.html">FilterSet</a>s are used to
replace
  @@ -199,9 +203,7 @@
   <pre>
     &lt;copy todir=&quot;../backup/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;
   </pre>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message