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>
<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>
</pre>
</blockquote>
@@ -1400,4 +1402,4 @@
<hr>
<p align=center>Copyright © 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]