ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32379] - Enhance token definition for replacefilterfile in replace task
Date Thu, 25 Nov 2004 09:48:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32379>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32379





------- Additional Comments From lewold@jbusters.com  2004-11-25 10:48 -------
That's a good tip, which basically works. 
We have just one problem: We use "nested tokens". E.g. 
%cost.%delivery.system%% --> %cost.cd%   (in first replace iteration) 
%cost.cd% --> 100 (in second replace iteration) 

We could solve this by copying the file to a temp file first, and then to the 
final file. But somehow I don't like that - I would prefer to replace contents 
in one file. 

I think exactly those begin/endtoken from filterset would fit perfectly into 
the Replace task. 

Additionally there is one problem with filterset. ${} Variables don't get 
replaced. The same problem happens with the replace task also, but only when 
using replacefilterfile. 
I think this is already reported with defect 8972 however. If you know a 
workaround there it would rock. 



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message