Please help me here with ant script to perform below mentiones task as i am stuck with it and not getting through.
I have properties files as below:
AccessSession/OperatorCode=Production
AccessSession/Password=%587931#
And so on....
And XML content is as below:( shortened xml content)
<application xmlns="http://www.tibco.com/xmlns/ApplicationManagement"
name="PurchaseAdhocBundle">
<description></description>
<contact></contact>
<NVPairs name="Global Variables">
<NameValuePair>
<name>AccessSession/OperatorCode</name>
<value>TM Production</value>
</NameValuePair>
<NameValuePair>
<name>AccessSession/Password</name>
<value>%T3lkom9525#</value>
</NameValuePair>
And so on....
I want script to update value tag in XML file with actual property value given in properties file
<application xmlns="http://www.tibco.com/xmlns/ApplicationManagement"
name="PurchaseAdhocBundle">
<description></description>
<contact></contact>
<NVPairs name="Global Variables">
<NameValuePair>
<name>AccessSession/OperatorCode</name>
<value>Production</value>
</NameValuePair>
<NameValuePair>
<name>AccessSession/Password</name>
<value>%587931#</value>
</NameValuePair>