I need to update an XML file that's inside of a jar file using ANT. I have to search for a string in the file and replace it with another value if that string exists.
A crude approach. Unzip the jar
file, use the replace
ant task, zip the files again and put the jar
file back.
copy
unzip
replace
zip
move
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With