Browse Source

fix error in sample code

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@379780 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 19 years ago
parent
commit
ef5363f750
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      docs/manual/CoreTypes/filterchain.html

+ 8
- 6
docs/manual/CoreTypes/filterchain.html View File

@@ -1350,11 +1350,13 @@ copying text files:
<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 @@ This may be used as follows:
<hr>

<p align=center>Copyright &copy; 2002-2006 The Apache Software Foundation. All rights
Reserved.</p></body></html>
Reserved.</p></body></html>

Loading…
Cancel
Save