changing rev value in ivy.xml using perl/python

kokemon

New Member
Need to change rev="{rev}" in ivy.xml dynamically right before the build. I was trying to use Perl XML:Simple module but the output was not acceptable. In the dependencies section, I'm getting:
\[code\]<dependencies name="dependency"> <poi org="ossjava" rev="3.6.0" /></dependencies>\[/code\]instea of \[code\]<dependencies> <dependency org="ossjava" name="poi" rev="3.6.0"/></dependencies>\[/code\]Please help! A Python code snippet will also suffice
 
Back
Top