In one of the configuration files for my project I need to append some text. I am looking for some options to do this using Ant.
I have found one option - to find something and replace that text with the new text, and the old values. But it does not seems to be promising, as if in future someone changes the original file the build will fail.
So, I would like my script to add the text at the end of the file.
What options do I have for such a requirement?