next up previous contents index
Next: FixCRLF Up: Filter Previous: Parameters   Contents   Index

Examples

  <filter token="year" value="2000"/>
  <copy todir="${dest.dir}" filtering="true">
    <fileset dir="${src.dir}"/>
  </copy>
will copy recursively all the files from the src.dir directory into the dest.dir directory replacing all the occurrences of the string @year@ with 2000.
  <filter filtersfile="deploy_env.properties"/>
will read all property entries from the deploy_env.properties file and set these as filters.



Andrew Marlow 2003-07-08