This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Updating the contents of a war file in production environment.
Michael Arnett
Ranch Hand
Joined: Mar 22, 2001
Posts: 65
posted
0
Hi all, We are currently deploying war files at our customer's production sites, but we would like to give our customer's to update certain properties files that are contained within each web application (war file) for minor text or presentation preferences, such as alert text, prompts, etc... My initial thought is to develop a simple script to extract the properties file, update the value of the correct property and then add the changed file back into the war file. However, this seems like it might be a common problem and i was wondering if anyone had a more elegant way of doing this. Thanks in advance for any input or ideas. -MLA
Sun Certified Programmer for the Java 2 Platform 1.4
When i update .war files, i just use winzip to open the war file and drag and drop my new file into the war file and it will overrider what is already there. Brian