ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r603477 - /ant/core/trunk/docs/manual/OptionalTasks/replaceregexp.html
Date Wed, 12 Dec 2007 06:08:22 GMT
Author: jhm
Date: Tue Dec 11 22:08:22 2007
New Revision: 603477

URL: http://svn.apache.org/viewvc?rev=603477&view=rev
Log:
Fix error in the examples.

Modified:
    ant/core/trunk/docs/manual/OptionalTasks/replaceregexp.html

Modified: ant/core/trunk/docs/manual/OptionalTasks/replaceregexp.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/replaceregexp.html?rev=603477&r1=603476&r2=603477&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/replaceregexp.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/replaceregexp.html Tue Dec 11 22:08:22 2007
@@ -89,10 +89,12 @@
   </tr>
 </table>
 <h3>Examples</h3>
-<pre>  &lt;replaceregexp file=&quot;${src}/build.properties&quot;
-                         match=&quot;OldProperty=(.*)&quot;
-                         replace=&quot;NewProperty=\1&quot;
-                         byline=&quot;true&quot;/&gt;
+<pre>
+&lt;replaceregexp file=&quot;${src}/build.properties&quot;
+               match=&quot;OldProperty=(.*)&quot;
+               replace=&quot;NewProperty=\1&quot;
+               byline=&quot;true&quot;
+/&gt;
 </pre>
 <p>replaces occurrences of the property name &quot;OldProperty&quot;
  with &quot;NewProperty&quot; in a properties file, preserving the existing
@@ -122,9 +124,9 @@
   &lt;regexp pattern=&quot;OldProperty=(.*)&quot;/&gt;
   &lt;substitution expression=&quot;NewProperty=\1&quot;/&gt;
   &lt;fileset dir=&quot;.&quot;&gt;
-   &lt;includes=&quot;*.properties&quot;/&gt;
+    &lt;include name=&quot;*.properties&quot;/&gt;
   &lt;/fileset&gt;
- &lt;/replaceregexp&gt;
+&lt;/replaceregexp&gt;
 </pre></blockquote>
 <p>replaces occurrences of the property name &quot;OldProperty&quot;
  with &quot;NewProperty&quot; in a properties file, preserving the existing



Mime
View raw message