You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Michael Giroux <ml...@gmail.com> on 2005/06/24 00:12:30 UTC
Error in ReplaceRegExp doc
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=".">
<includes="*.properties"/>
</fileset>
</replaceregexp>
Michael Giroux
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org