bodewig 2003/07/23 05:58:49
Modified: docs/manual/CoreTasks Tag: ANT_15_BRANCH replace.html
docs/manual/OptionalTasks Tag: ANT_15_BRANCH
replaceregexp.html
Log:
merge fix for 21658 from HEAD
Revision Changes Path
No revision
No revision
1.8.2.5 +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.8.2.4
retrieving revision 1.8.2.5
diff -u -r1.8.2.4 -r1.8.2.5
--- replace.html 4 Sep 2002 11:21:12 -0000 1.8.2.4
+++ replace.html 23 Jul 2003 12:58:49 -0000 1.8.2.5
@@ -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>
No revision
No revision
1.8.2.5 +5 -1 ant/docs/manual/OptionalTasks/replaceregexp.html
Index: replaceregexp.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/OptionalTasks/replaceregexp.html,v
retrieving revision 1.8.2.4
retrieving revision 1.8.2.5
diff -u -r1.8.2.4 -r1.8.2.5
--- replaceregexp.html 19 Mar 2003 08:41:29 -0000 1.8.2.4
+++ replaceregexp.html 23 Jul 2003 12:58:49 -0000 1.8.2.5
@@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Language" content="en-us">
-<title>ReplaceRegeExp Task</title>
+<title>ReplaceRegExp Task</title>
</head>
<body>
@@ -12,6 +12,10 @@
<p>ReplaceRegExp is a directory based task for replacing the
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]