I am writing a build script for my project. In one of the configuration files I need to append some text. So I am looking for some options in ant to do this.
I have got one option to find something and replace that text with all of your 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 tool 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?