You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2003/07/23 14:57:18 UTC
cvs commit: ant/docs/manual/OptionalTasks replaceregexp.html
bodewig 2003/07/23 05:57:18
Modified: docs/manual/CoreTasks replace.html
docs/manual/OptionalTasks replaceregexp.html
Log:
steal a paragraph from <fixcrlf>'s docs.
PR: 21658
Revision Changes Path
1.13 +6 -1 ant/docs/manual/CoreTasks/replace.html
Index: replace.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/replace.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- replace.html 4 Sep 2002 11:05:16 -0000 1.12
+++ replace.html 23 Jul 2003 12:57:18 -0000 1.13
@@ -13,6 +13,11 @@
in selected file.</p>
<p>If you want to replace a text that crosses line boundaries, you
must use a nested <code><replacetoken></code> element.</p>
+
+<p>The output file is only written if it differs from the existing
+file. This prevents spurious rebuilds based on unchanged files which
+have been regenerated by this task.</p>
+
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
@@ -177,7 +182,7 @@
<p><b>Note:</b> It is possible to use either the <i>token</i>/<code><replacetoken></code> and <i>value</i>/<code><replacevalue></code> attributes/elements, the nested replacefilter elements, or both in the same operation.
</p>
<hr>
-<p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights
+<p align="center">Copyright © 2000-2003 Apache Software Foundation. All rights
Reserved.</p>
</body>
1.16 +4 -0 ant/docs/manual/OptionalTasks/replaceregexp.html
Index: replaceregexp.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/OptionalTasks/replaceregexp.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- replaceregexp.html 24 Jun 2003 16:07:32 -0000 1.15
+++ replaceregexp.html 23 Jul 2003 12:57:18 -0000 1.16
@@ -13,6 +13,10 @@
occurrence of a given regular expression with a substitution pattern
in a selected file or set of files.</p>
+<p>The output file is only written if it differs from the existing
+file. This prevents spurious rebuilds based on unchanged files which
+have been regenerated by this task.</p>
+
<p>Similar to <a href="../CoreTypes/mapper.html#regexp-mapper">regexp
type mappers</a> this task needs a supporting regular expression
library and an implementation of
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org