ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/docs/manual/CoreTypes filterchain.html
Date Wed, 01 Jun 2005 05:30:44 GMT
antoine     2005/05/31 22:30:44

  Modified:    docs/manual/CoreTypes filterchain.html
  Log:
  fixed strange example, property names do not usually start with ${
  
  Revision  Changes    Path
  1.29      +9 -9      ant/docs/manual/CoreTypes/filterchain.html
  
  Index: filterchain.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- filterchain.html	29 Apr 2005 18:58:12 -0000	1.28
  +++ filterchain.html	1 Jun 2005 05:30:44 -0000	1.29
  @@ -63,7 +63,7 @@
   However, they can be declared using some simpler syntax also.<p>
   Example:
   <blockquote><pre>
  -&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;${src.file.head}&quot;&gt;
  +&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;src.file.head&quot;&gt;
     &lt;filterchain&gt;
       &lt;headfilter lines=&quot;15&quot;/&gt;
     &lt;/filterchain&gt;
  @@ -71,7 +71,7 @@
   </pre></blockquote>
   is equivalent to:
   <blockquote><pre>
  -&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;${src.file.head}&quot;&gt;
  +&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;src.file.head&quot;&gt;
     &lt;filterchain&gt;
       &lt;filterreader classname=&quot;org.apache.tools.ant.filters.HeadFilter&quot;&gt;
         &lt;param name=&quot;lines&quot; value=&quot;15&quot;/&gt;
  @@ -259,9 +259,9 @@
   <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>
  -&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;${src.file.head}&quot;&gt;
  +&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;src.file.head&quot;&gt;
     &lt;filterchain&gt;
       &lt;filterreader classname=&quot;org.apache.tools.ant.filters.HeadFilter&quot;&gt;
         &lt;param name=&quot;lines&quot; value=&quot;15&quot;/&gt;
  @@ -272,7 +272,7 @@
   
   Convenience method:
   <blockquote><pre>
  -&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;${src.file.head}&quot;&gt;
  +&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;src.file.head&quot;&gt;
     &lt;filterchain&gt;
       &lt;headfilter lines=&quot;15&quot;/&gt;
     &lt;/filterchain&gt;
  @@ -280,9 +280,9 @@
   </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>
  -&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;${src.file.head}&quot;&gt;
  +&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;src.file.head&quot;&gt;
     &lt;filterchain&gt;
       &lt;headfilter lines=&quot;15&quot; skip=&quot;2&quot;/&gt;
     &lt;/filterchain&gt;
  @@ -824,10 +824,10 @@
   
   
   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>
  -&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;${src.file.head}&quot;&gt;
  +&lt;loadfile srcfile=&quot;${src.file}&quot; property=&quot;src.file.head&quot;&gt;
     &lt;filterchain&gt;
       &lt;tailfilter lines=&quot;10&quot; skip=&quot;2&quot;/&gt;
     &lt;/filterchain&gt;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message