• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Updating the contents of a war file in production environment.

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess Apache ANT is created for this purpose only,please see have look at http://ant.apache.org/
 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic