ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Sadangi <msada...@manh.com>
Subject replacetokens is not working
Date Tue, 13 May 2003 13:19:53 GMT
I am parsing a property file and trying to replace all the occurance of com
with org.
<loadfile srcfile="${path.propertyfile}" property="pf">
  <filterchain>
   <linecontains>
  	<contains value="pathmgr"/>
   </linecontains>
 <replacetokens>
      <token key="com" value="org"/>
   </replacetokens>
  </filterchain>
</loadfile>

this is returning a single line com.foo.foobar.main 
so the linecontain filter is working but the replacetoken is not working.

any help would be appreciated.

thanks, 
manoj
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message