Bug 15149 - Replace task
Summary: Replace task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.5.1
Hardware: Other other
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-06 20:17 UTC by Guoliang Cao
Modified: 2008-11-24 03:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guoliang Cao 2002-12-06 20:17:24 UTC
In the manual page about replace task, it mentioned we can use a property file 
to store token/value pairs. 
---------
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. 
---------

There's room to improve this feature: we can add one more option to override 
property values defined in this file. This file just house default values, the 
customized values will be stored in USER_HOME/.ant.properties or elsewhere, so 
that in a team project, developers don't have to adjust values in the 
replacefilterfile. 

I would be very interested in this feature because after first read I thought I 
can use the replace task this way and later found it can not be done in the 
current 1.5.1 release. 

Thanks.