ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r379780 - /ant/core/trunk/docs/manual/CoreTypes/filterchain.html
Date Wed, 22 Feb 2006 14:30:37 GMT
Author: jhm
Date: Wed Feb 22 06:30:19 2006
New Revision: 379780

URL: http://svn.apache.org/viewcvs?rev=379780&view=rev
Log:
fix error in sample code

Modified:
    ant/core/trunk/docs/manual/CoreTypes/filterchain.html

Modified: ant/core/trunk/docs/manual/CoreTypes/filterchain.html
URL: http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTypes/filterchain.html?rev=379780&r1=379779&r2=379780&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTypes/filterchain.html (original)
+++ ant/core/trunk/docs/manual/CoreTypes/filterchain.html Wed Feb 22 06:30:19 2006
@@ -1350,11 +1350,13 @@
     <pre>
 &lt;copy todir="dist"&gt;
   &lt;fileset dir="src" includes="**/*.txt"/&gt;
-  &lt;scriptfilter language="beanshell"&gt;
-      if (self.getToken().indexOf("bad") != -1) {
-          self.setToken(null);
-      }
-  &lt;/scriptfilter&gt;
+  &lt;filterchain&gt;
+    &lt;scriptfilter language="beanshell"&gt;
+        if (self.getToken().indexOf("bad") != -1) {
+            self.setToken(null);
+        }
+    &lt;/scriptfilter&gt;
+  &lt;/filterchain&gt;
 &lt;/copy&gt;
     </pre>
   </blockquote>
@@ -1400,4 +1402,4 @@
 <hr>
 
 <p align=center>Copyright &copy; 2002-2006 The Apache Software Foundation. All
rights
-Reserved.</p></body></html>
+Reserved.</p></body></html>
\ No newline at end of file



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


Mime
View raw message