Hi,
I'm trying to copy property files to their right environment using
ant.
Suppose, I have three files like below
jsp-dev.properties, jsp-test.properties, jsp-prod.properties.
Now, I would like my ant script to copy right file to the right environment.
if I give env in build.properties as dev, it should trim "-dev" from the file and copy the file to dev.
like copy jsp-dev.properties to jsp.properties and push to dev environment.
Can anyone help me here?
Thanks,