Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
Error in replaceregexp example

Error in replaceregexp example

2005-06-23       - By Michael.Giroux@(protected)
Reply:     1     2  

The help doc for replaceregexp shows and example of a fileset.  The nested
<includes...> element is incorrect.  This should be <include
name=*.properties/> element.  I'm thinking the author was intending the
includes attribute of the task itself perhaps.

<replaceregexp byline="true">
 <regexp pattern="OldProperty=(.*)"/>
 <substitution expression="NewProperty=\1"/>
 <fileset dir=".">

Michael Giroux

To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.