ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Error in replaceregexp example
Date Thu, 23 Jun 2005 19:39:25 GMT

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:
For additional commands, e-mail:

View raw message