From c98b4586140cd097b712fd9a57ca6ad34b42e97f Mon Sep 17 00:00:00 2001
From: Conor MacNeill Version 1.2 - 2000/10/19 Version 1.2 - 2000/10/24 Sets a token filter for this project. Token filters are used by all tasks
-that perform file copying operations through the Project commodity methods. Note: the token string must not contain the separators chars (@). Sets a token filter for this project or read multiple token filter from
+an input file and sets these as filters.
+Token filters are used by all tasks that perform file copying operations
+through the Project commodity methods. Note 1: the token string must not contain the separators chars (@). * see notes 1 and 2 above parameters table.
Table of Contents
@@ -1892,9 +1892,14 @@ build.xml:4: Something wrong here.
Filter
Description
-
+Note 2: Either token and value attributes must be provided, or only the
+filterfile attribute.Parameters
+
@@ -1905,15 +1910,21 @@ that perform file copying operations through the Project commodity methods.
token
the token string without @
- Yes
+ Yes*
+ value
- the string that should be put to replace the token when the
+ the string that should be put to replace the token when the
file is copied
- Yes
+ Yes*
+
+
filtersfile
+ The file from which the filters must be read. This file must be a formatted as a property file.
+ Yes*
Examples
<filter token="year" value="2000" />
<copy todir="${dest.dir}">
@@ -1922,6 +1933,10 @@ that perform file copying operations through the Project commodity methods.
will copy recursively all the files from the src.dir directory into the dest.dir directory replacing all the occurencies of the string @year@ with 2000.
+<filter filterfile="deploy_env.properties" />+will read all property entries from the deploy_env.properties file +and set these as filters. +