http://nagoya.apache.org/bugzilla/show_bug.cgi?id=734
*** shadow/734 Tue Feb 27 10:52:24 2001
--- shadow/734.tmp.873 Tue Feb 27 10:52:24 2001
***************
*** 0 ****
--- 1,32 ----
+ +============================================================================+
+ | Filter doc example misleading for usage |
+ +----------------------------------------------------------------------------+
+ | Bug #: 734 Product: Ant |
+ | Status: NEW Version: 1.3 Beta 2 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: |
+ | Priority: Component: Documentation |
+ +----------------------------------------------------------------------------+
+ | Assigned To: [EMAIL PROTECTED] |
+ | Reported By: [EMAIL PROTECTED] |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ The documentation for filter gives the following example:
+
+ <filter token="year" value="2000"/>
+ <copy todir="${dest.dir}">
+ <fileset dir="${src.dir}"/>
+ </copy>
+
+ This example does not work since one has to set the filtering attribute
+ to "true" or "on" on the copy task.
+
+ Working example would be:
+
+ <filter token="year" value="2000"/>
+ <copy todir="${dest.dir}" filtering="true">
+ <fileset dir="${src.dir}"/>
+ </copy>