@@ -63,7 +63,7 @@ can also be declared using a syntax similar to the above syntax.
However, they can be declared using some simpler syntax also.<p>
Example:
<blockquote><pre>
<loadfile srcfile="${src.file}" property="${ src.file.head} ">
<loadfile srcfile="${src.file}" property="src.file.head">
<filterchain>
<headfilter lines="15"/>
</filterchain>
@@ -71,7 +71,7 @@ Example:
</pre></blockquote>
is equivalent to:
<blockquote><pre>
<loadfile srcfile="${src.file}" property="${ src.file.head} ">
<loadfile srcfile="${src.file}" property="src.file.head">
<filterchain>
<filterreader classname="org.apache.tools.ant.filters.HeadFilter">
<param name="lines" value="15"/>
@@ -259,9 +259,9 @@ This filter reads the first few lines from the data supplied to it.
<p>
<h4>Example:</h4>
This stores the first 15 lines of the supplied data in the property ${ src.file.head}
This stores the first 15 lines of the supplied data in the property src.file.head
<blockquote><pre>
<loadfile srcfile="${src.file}" property="${ src.file.head} ">
<loadfile srcfile="${src.file}" property="src.file.head">
<filterchain>
<filterreader classname="org.apache.tools.ant.filters.HeadFilter">
<param name="lines" value="15"/>
@@ -272,7 +272,7 @@ This stores the first 15 lines of the supplied data in the property ${src.file.h
Convenience method:
<blockquote><pre>
<loadfile srcfile="${src.file}" property="${ src.file.head} ">
<loadfile srcfile="${src.file}" property="src.file.head">
<filterchain>
<headfilter lines="15"/>
</filterchain>
@@ -280,9 +280,9 @@ Convenience method:
</pre></blockquote>
This stores the first 15 lines, skipping the first 2 lines, of the supplied data
in the property ${ src.file.head} . (Means: lines 3-17)
in the property src.file.head. (Means: lines 3-17)
<blockquote><pre>
<loadfile srcfile="${src.file}" property="${ src.file.head} ">
<loadfile srcfile="${src.file}" property="src.file.head">
<filterchain>
<headfilter lines="15" skip="2"/>
</filterchain>
@@ -824,10 +824,10 @@ Convenience method:
This stores the last 10 lines, skipping the last 2 lines, of the supplied data
in the property ${ src.file.head} . (Means: if supplied data contains 60 lines,
in the property src.file.head. (Means: if supplied data contains 60 lines,
lines 49-58 are extracted)
<blockquote><pre>
<loadfile srcfile="${src.file}" property="${ src.file.head} ">
<loadfile srcfile="${src.file}" property="src.file.head">
<filterchain>
<tailfilter lines="10" skip="2"/>
</filterchain>