ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 734] New - Filter doc example misleading for usage
Date Tue, 27 Feb 2001 18:52:25 GMT
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: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: ehsforward@yahoo.com                                         |
+ |      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>

Mime
View raw message