I am not sure which task I have to use to modify java properties file.
Here is my case.
I have a propeties file, demo.properties. I want to change the value dynamically at runtime.
for example.
port=8809.
then I want to change it to 8810 other port and save it to the same properties file, demo.properties. It's because I don't want to change it manually.
can somebody tell me how to do it with ANT?
Thanks.
Here is my case.
I have a propeties file, demo.properties. I want to change the value dynamically at runtime.
for example.
port=8809.
then I want to change it to 8810 other port and save it to the same properties file, demo.properties. It's because I don't want to change it manually.
can somebody tell me how to do it with ANT?
Thanks.