ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <replacetoken> query
Date Mon, 02 Sep 2002 13:33:14 GMT
On Sun, 18 Aug 2002, Praveen Acharya <praveensacharya@yahoo.com>
wrote:

> <replacevalue><![CDATA[<CustomerSecsAccNo>${account.no}</CustomerSecsAccNo>]]></replacevalue>
> 
> how can i achive wht i am trying to do above..

Use the value attribute of <replace> instead - properties are not
expanded for the nested elements, but get expanded for the attributes.

So what you want is 

<replace value="&lt;CustomerSecsAccNo&gt;${account.no}&lt;/CustomerSecsAccNo&gt;"
  ...

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message