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 13:44:41 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 13:44 -------
No, I think it is a bug. After all we don't know at the task level whether a
CDATA section was used or not (nor should we). Consider this

<project name="11585" default="test">
  <target name="test">
    <property name="jbossHostname" value="bar"/>
    <echo><![CDATA[<attribute
name="BindAddress">${jbossHostname}</attribute>]]></echo>
  </target>
</project>

The replacement happens here. The only question is whether to preserve the
current incorrect behaviour for backward compatibility and enable the correct
behaviour with an attribute or just fix it. I vote to just fix it.

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


Mime
View raw message