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"/>
or

<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
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to