ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin, Frank" <f...@fusionOne.com>
Subject Filters in ant
Date Sat, 17 Feb 2001 00:42:02 GMT
Hi,

Does anyone know how to use filter in Ant?   I used the token and value
pair, but it did not replace the token

  <filter token="year" value="2000" />
  <copy todir="./test" >
   	<fileset dir="." includes="test.file" />
  </copy>  

test.file:
year
@year@

Also, the filterfile was not supported either.
 Class org.apache.tools.ant.taskdefs.Filter doesn't support the "filterfile"
attribute


Thanks

Frank



Mime
View raw message