Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 83156 invoked from network); 10 Dec 2004 13:17:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Dec 2004 13:17:56 -0000 Received: (qmail 65297 invoked by uid 500); 10 Dec 2004 13:17:54 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 65245 invoked by uid 500); 10 Dec 2004 13:17:53 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 65232 invoked by uid 500); 10 Dec 2004 13:17:53 -0000 Received: (qmail 65226 invoked by uid 99); 10 Dec 2004 13:17:53 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 10 Dec 2004 05:17:53 -0800 Received: (qmail 83102 invoked by uid 1539); 10 Dec 2004 13:17:51 -0000 Date: 10 Dec 2004 13:17:51 -0000 Message-ID: <20041210131751.83101.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/docs/manual/CoreTasks copy.html X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 element. The default mapper used by <copy> is the identity mapper.

+

+ Since Ant 1.6.3, + one can use a filenamemapper type in place of the mapper element. +

filterset

FilterSets are used to replace @@ -199,9 +203,7 @@

     <copy todir="../backup/dir">
       <fileset dir="src_dir"/>
  -    <mapper>
  -        <globmapper from="*" to="*.bak"/>
  -    </mapper>
  +    <globmapper from="*" to="*.bak"/>
     </copy>
   
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org