From b8c1383799831b1a1cb78d78a121e1c28c7f0248 Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Wed, 1 Jun 2005 05:30:44 +0000 Subject: [PATCH] fixed strange example, property names do not usually start with ${ git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278391 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTypes/filterchain.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/manual/CoreTypes/filterchain.html b/docs/manual/CoreTypes/filterchain.html index 5eaafe966..a9655b8b9 100644 --- a/docs/manual/CoreTypes/filterchain.html +++ b/docs/manual/CoreTypes/filterchain.html @@ -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.

Example:

-<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:
 
is equivalent to:
-<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.
 

Example:

-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
-<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:
 
-<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:
 
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)
-<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)
 
-<loadfile srcfile="${src.file}" property="${src.file.head}">
+<loadfile srcfile="${src.file}" property="src.file.head">
   <filterchain>
     <tailfilter lines="10" skip="2"/>
   </filterchain>