ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: FWD: [PATCH]
Date Mon, 15 Jan 2001 01:21:08 GMT
At 02:12  11/1/01 -0800, Thayer Robins wrote:
>I don't belive this has been picked up yet.

kewl ;)

>This patch adds an additional, nested element ('replacefilter') to the 
>replace task. In addition to allowing for multiple replacements, the nested 
>element allows replacement values to be extracted from a property file. The 
>name of this file is specified using an optional 'replace' attribute 
>replacefilter has the following attributes:
>	token (mandatory) -> string to search for
>	value (optional) -> replacement string
>	property (optional) -> name of property whose value is to serve as the 
>replacement value
>Either value or property may be specified, but not both. If neither is 
>provided, the value provided using the replace attribute 'value' and/or the 
>'replacevalue' element is used. If no value was specified there either, the 
>token is replaced with an empty string.
>The existing elements and attributes of replace are still supported, so it 
>is possible to use either the token/replacetoken and value/replacevalue 
>attributes/elements, the nested replacefilter elements, or both in the same 

Would you be able to rework the above into a patch for docs/index.html ? ;)



| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |

View raw message