Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updating the contents of a war file in production environment.

 
Michael Arnett
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess Apache ANT is created for this purpose only,please see have look at http://ant.apache.org/
 
Brian Nice
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic