What is the best practice for maintaining different versions of properties files like for prod,
test and dev and generate war/ear out of it selecting correct version of property file using
Ant?
What I have done is I have kept all three version of properties file together with .prod and .test suffix for Production and Test, and for Development just .properties. In my Ant I have written three different targets and I am coping and renaming appropriate property file.
I use RAD7 and Websphere.