ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTypes filterchain.html filterset.html
Date Fri, 12 Jul 2002 14:07:36 GMT
bodewig     2002/07/12 07:07:36

  Modified:    docs/manual/CoreTypes filterchain.html filterset.html
  Log:
  PR: 10728
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/docs/manual/CoreTypes/filterchain.html
  
  Index: filterchain.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTypes/filterchain.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- filterchain.html	1 Jun 2002 12:26:35 -0000	1.2
  +++ filterchain.html	12 Jul 2002 14:07:36 -0000	1.3
  @@ -379,7 +379,7 @@
   
   <H4>Example:</H4>
   
  -This replaces occurences of the string @DATE@ in the data
  +This replaces occurences of the string &#64;DATE&#64; in the data
   with today's date and stores it in the property ${src.file.replaced}
   <BLOCKQUOTE><PRE>
   &lt;tstamp/&gt;
  
  
  
  1.8       +7 -8      jakarta-ant/docs/manual/CoreTypes/filterset.html
  
  Index: filterset.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTypes/filterset.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- filterset.html	12 Jun 2002 14:54:40 -0000	1.7
  +++ filterset.html	12 Jul 2002 14:07:36 -0000	1.8
  @@ -19,7 +19,6 @@
   <code>endtoken</code> attributes to define what to match.</p>
   <p>Filtersets are used for doing 
   replacements in tasks such as <code>&lt;copy&gt;</code>, etc.</p>
  -<p>Nested filters are possible and a message will be given in case a value in a filter
chain is called for a second time and thus causing an infinite loop. The originating token
will be passed back when an infinite loop occurs.
   
   <H2>Filterset</H2>
   
  @@ -33,14 +32,14 @@
     <TR>
       <TD vAlign=top>begintoken</TD>
       <TD vAlign=top>The string marking the beginning of a token (eg.,
  -      <code>@date@</code>).</TD>
  +      <code>&#64;DATE&#64;</code>).</TD>
       <TD vAlign=top>@</TD>
       <TD vAlign=top align="center">No</TD>
     </TR>
     <TR>
       <TD vAlign=top>endtoken</TD>
       <TD vAlign=top>The string marking the end of a token (eg.,
  -      <code>@date@</code>).</TD>
  +      <code>&#64;DATE&#64;</code>).</TD>
       <TD vAlign=top>@</TD>
       <TD vAlign=top align="center">No</TD>
     </TR>
  @@ -55,7 +54,7 @@
     </TR>
     <TR>
       <TD vAlign=top>token</TD>
  -    <TD vAlign=top>The token to replace (eg., <code>@date@</code>)</TD>
  +    <TD vAlign=top>The token to replace (eg., <code>&#64;DATE&#64;</code>)</TD>
       <TD vAlign=top align="center">Yes</TD>
     </TR>
     <TR>
  @@ -85,22 +84,22 @@
   
   <p>You are copying the <code>version.txt</code> file to the <code>dist</code>
   directory from the <code>build</code> directory 
  -but wish to replace the token <code>@date@</code> with today's date.</p>
  +but wish to replace the token <code>&#64;DATE&#64;</code> with today's
date.</p>
   <BLOCKQUOTE><PRE>
   &lt;copy file=&quot;${build.dir}/version.txt&quot; toFile=&quot;${dist.dir}/version.txt&quot;&gt;
     &lt;filterset&gt;
  -    &lt;filter token=&quot;date&quot; value=&quot;${TODAY}&quot;/&gt;
  +    &lt;filter token=&quot;DATE&quot; value=&quot;${TODAY}&quot;/&gt;
     &lt;/filterset&gt;
   &lt;/copy&gt;
   </PRE></BLOCKQUOTE>
   
   <p>You are copying the <code>version.txt</code> file to the <code>dist</code>
   directory from the build directory 
  -but wish to replace the token <code>%date*</code> with today's date.</p>
  +but wish to replace the token <code>%DATE*</code> with today's date.</p>
   <BLOCKQUOTE><PRE>
   &lt;copy file=&quot;${build.dir}/version.txt&quot; toFile=&quot;${dist.dir}/version.txt&quot;&gt;
     &lt;filterset begintoken=&quot;%&quot; endtoken=&quot;*&quot;&gt;
  -    &lt;filter token=&quot;date&quot; value=&quot;${TODAY}&quot;/&gt;
  +    &lt;filter token=&quot;DATE&quot; value=&quot;${TODAY}&quot;/&gt;
     &lt;/filterset&gt;
   &lt;/copy&gt;
   </PRE></BLOCKQUOTE>
  
  
  

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


Mime
View raw message