From ef5363f75030ef217547bea9b01c67458a931860 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Wed, 22 Feb 2006 14:30:19 +0000 Subject: [PATCH] fix error in sample code git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@379780 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/filterchain.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/manual/CoreTypes/filterchain.html b/docs/manual/CoreTypes/filterchain.html index aced3a845..68bdba059 100644 --- a/docs/manual/CoreTypes/filterchain.html +++ b/docs/manual/CoreTypes/filterchain.html @@ -1350,11 +1350,13 @@ copying text files:
 <copy todir="dist">
   <fileset dir="src" includes="**/*.txt"/>
-  <scriptfilter language="beanshell">
-      if (self.getToken().indexOf("bad") != -1) {
-          self.setToken(null);
-      }
-  </scriptfilter>
+  <filterchain>
+    <scriptfilter language="beanshell">
+        if (self.getToken().indexOf("bad") != -1) {
+            self.setToken(null);
+        }
+    </scriptfilter>
+  </filterchain>
 </copy>
     
@@ -1400,4 +1402,4 @@ This may be used as follows:

Copyright © 2002-2006 The Apache Software Foundation. All rights -Reserved.

+Reserved.

\ No newline at end of file