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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to