From f987ed2417d66f6e74eb0b78cc290ca3f3ee3863 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 23 Jul 2003 12:57:18 +0000 Subject: [PATCH] steal a paragraph from 's docs. PR: 21658 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274911 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/replace.html | 7 ++++++- docs/manual/OptionalTasks/replaceregexp.html | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTasks/replace.html b/docs/manual/CoreTasks/replace.html index b8bf8acc9..38e26b542 100644 --- a/docs/manual/CoreTasks/replace.html +++ b/docs/manual/CoreTasks/replace.html @@ -13,6 +13,11 @@ in selected file.

If you want to replace a text that crosses line boundaries, you must use a nested <replacetoken> element.

+ +

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.

+

Parameters

@@ -177,7 +182,7 @@ token]]></replacevalue>

Note: It is possible to use either the token/<replacetoken> and value/<replacevalue> attributes/elements, the nested replacefilter elements, or both in the same operation.


-

Copyright © 2000-2002 Apache Software Foundation. All rights +

Copyright © 2000-2003 Apache Software Foundation. All rights Reserved.

diff --git a/docs/manual/OptionalTasks/replaceregexp.html b/docs/manual/OptionalTasks/replaceregexp.html index 5ca430057..eca4f2027 100644 --- a/docs/manual/OptionalTasks/replaceregexp.html +++ b/docs/manual/OptionalTasks/replaceregexp.html @@ -13,6 +13,10 @@ occurrence of a given regular expression with a substitution pattern in a selected file or set of files.

+

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.

+

Similar to regexp type mappers this task needs a supporting regular expression library and an implementation of