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 [EMAIL PROTECTED]  2003-10-24 15:21 -------
a couple of points.
* We may as well make Andre's change anyway if we are going to support
  replace properties for the replace inner task

* I am not too sure it is a good idea to provide the new introspection
  method. It may be better to get always do the replace properties
  before addText(String) is called. An "ugly" solution to allow
  thirdparty tasks to work for both ant 1.7 and before could be
  to provide a "ant.addtext.replaceproperties" property.
  
  void addText(String x) {
    if (getProject().getProperty("ant.addtext.replaceproperties") == null) {
        x = getProject().replaceProperties(x);
    }
    ...
  }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to