You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ognjen Blagojevic <og...@etf.bg.ac.yu> on 2007/12/11 15:59:48 UTC
Documentation problem for replaceregexp
Hi all,
There is a documentation error in ant manual for ant task replaceregexp.
In example:
<replaceregexp byline="true">
<regexp pattern="OldProperty=(.*)"/>
<substitution expression="NewProperty=\1"/>
<fileset dir=".">
<includes="*.properties"/>
</fileset>
</replaceregexp>
includes should be an attribute, something like this, I think:
<fileset dir="."
includes="*.properties" />
Or maybe nasted tag, something like this
<fileset dir=".">
<includes includes="*.properties"/>
</fileset>
But the example anyway, wrong.
Can someone change this?
Regards,
Ognjen
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org