ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mylene Reiners <mylene.rein...@cmg.com>
Subject question on "replace"
Date Thu, 12 Dec 2002 07:07:22 GMT
Hi,

To replace all instances of e.g. adapter-instance in a directory I use:
<replace dir="${adapterdir}/adapter" 
         token="adapter-instance" 
         value="${adapter_instance}"/>

Now I have an XML file from where I want to get the values.
something like:
XML: <foo>bar</foo>

<replace dir="${adapterdir}/adapter" 
         token="adapter-instance" 
         value="** the value of tag <foo> **"/>

Is this possible using Ant?

TIA,

Mylène

--
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