bodewig 2002/07/12 07:06:12
Modified: docs/manual/CoreTypes Tag: ANT_15_BRANCH filterchain.html
filterset.html
Log:
Make sure filters don't touch documentation.
PR: 10728
Revision Changes Path
No revision
No revision
1.1.2.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.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- filterchain.html 20 May 2002 12:43:29 -0000 1.1.2.2
+++ filterchain.html 12 Jul 2002 14:06:11 -0000 1.1.2.3
@@ -379,7 +379,7 @@
<H4>Example:</H4>
-This replaces occurences of the string @DATE@ in the data
+This replaces occurences of the string @DATE@ in the data
with today's date and stores it in the property ${src.file.replaced}
<BLOCKQUOTE><PRE>
<tstamp/>
1.6.2.1 +7 -7 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.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- filterset.html 25 Mar 2002 20:21:11 -0000 1.6
+++ filterset.html 12 Jul 2002 14:06:12 -0000 1.6.2.1
@@ -32,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>@DATE@</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>@DATE@</code>).</TD>
<TD vAlign=top>@</TD>
<TD vAlign=top align="center">No</TD>
</TR>
@@ -54,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>@DATE@</code>)</TD>
<TD vAlign=top align="center">Yes</TD>
</TR>
<TR>
@@ -84,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>@DATE@</code> with today's
date.</p>
<BLOCKQUOTE><PRE>
<copy file="${build.dir}/version.txt"
toFile="${dist.dir}/version.txt">
<filterset>
- <filter token="date" value="${TODAY}"/>
+ <filter token="DATE" value="${TODAY}"/>
</filterset>
</copy>
</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>
<copy file="${build.dir}/version.txt"
toFile="${dist.dir}/version.txt">
<filterset begintoken="%" endtoken="*">
- <filter token="date" value="${TODAY}"/>
+ <filter token="DATE" value="${TODAY}"/>
</filterset>
</copy>
</PRE></BLOCKQUOTE>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>