Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing properties file in a jar...

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jar file that includes a properties file that I want to change.
How can I change properites file and then include back in the jar file?
 
Paul Clapham
Sheriff
Pie
Posts: 20769
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Extract all of the files from the jar.

2. Change the properties file.

3. Put all of the files back into a new version of the jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic