I have a requirement where in we have multiple properties files using which a EAR file is created for different environment like development,production etc. it takes around 45 minutes for the creation of ear in one specific environment which is a lot of time.What i want to do is create the EAR only once for all the environment and when it is deployed in the IBM WebSphere it should work.We use ant build for building the ear.
Thanks for your help
I think the best option would be to include a properties file in the EAR, and then adjust code in the EAR to use an env-entry to decide which properties file to use. An administrator/developer can set the env-entry when deploying the application.