next up previous contents index
Next: Examples Up: Replace Previous: Description   Contents   Index

Parameters

Attribute
file
dir
file for which the token should be replaced.
The base directory to use when replacing a token in multiple files.
Exactly one of the two.
encoding The encoding of the files upon which replace operates. No - defaults to default JVM encoding
token the token which must be replaced. Yes, unless a nested replacetoken element or the replacefilterfile attribute is used.
value the new value for the token. When omitted, an empty string ("") is used. No
summary Indicates whether a summary of the replace operation should be produced, detailing how many token occurrences and files were processed No, by default no summary is produced
propertyFile valid property file from which properties specified using nested <replacefilter> elements are drawn. Yes only if property attribute of <replacefilter> is used.
replacefilterfile valid property file. Each property will be treated as a replacefilter where token is the name of the property and value is the properties value. No.
includes comma- or space-separated list of patterns of files that must be included. All files are included when omitted. No
includesfile the name of a file. Each line of this file is taken to be an include pattern No
excludes comma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted. No
excludesfile the name of a file. Each line of this file is taken to be an exclude pattern No
defaultexcludes indicates whether default excludes should be used or not ("yes"/"no"). Default excludes are used when omitted. No


next up previous contents index
Next: Examples Up: Replace Previous: Description   Contents   Index
Andrew Marlow 2003-07-08