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 11585] - The Replace Task ignores properties with multiline replacements
Date Thu, 31 Jul 2003 14:15:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11585>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11585

The Replace Task ignores properties with multiline replacements





------- Additional Comments From conor@cortexebusiness.com.au  2003-07-31 14:15 -------
The problem is to decide where responsibility is. Currently not many tasks
accept content in tags (but there are enough). Most of those do explicit
replacement. 

E.g. in <echo>

message += getProject().replaceProperties(msg);

I think it is wrong to expect each task to do that. I would move this into the
ProjectHelper.addText static method. It is a slight backward compatibility issue
but I think it would be a good change to make.

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


Mime
View raw message