ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ognjen Blagojevic <ogn...@etf.bg.ac.yu>
Subject Documentation problem for replaceregexp
Date Tue, 11 Dec 2007 14:59:48 GMT
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


Mime
View raw message