Hi all,

I'm trying to replace an element in my xml file with the contents of a namedBuffer or a file.
This content contains properties, e.g. ${variable}
My build.properties file contains a valid value for this property.
However, when I use

<replace path="..." withBuffer="namedBuffer" expandProperties="true"/>
<replace path="..." withFile="namedFile.xml" expandProperties="true"/>

the element is correctly replaced with the buffer or file content. However, no property expansion is done.

When I use something like

<replace path="...." withText="some text ${variable} some text" expandProperties="true"/>

propery expansion is done correctly.

Is this intended behaviour or am I doing something wrong?

Any help would be appreciated!

Regards, Rob