I am writing an ant script that replaces all tokens in a file by getting its values from another file. For instance, the file a.properties contains tokens,
server.url=@SERVER.URL@
application.id=@APP.ID@
etc...
And the values for the tokens should be fetched from a single file, say token.properties which contains the below entries
SERVER.URL=http://localhost:80
APP.ID=HelloWorld
I want to accomplish this without mentioning the replacefilter for each token. I have tried searching in the web for this and couldn't figure out. Is this possible in ant?