aspose file tools*
The moose likes JBoss/WildFly and the fly likes Modifying properties file in WAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Modifying properties file in WAR" Watch "Modifying properties file in WAR" New topic
Author

Modifying properties file in WAR

krishnamohan murugesan
Greenhorn

Joined: May 27, 2008
Posts: 5
hi,
does anyone knows how to modify a properties file in a war after deploying that war in JBoss?
I can modify it manually but i have to do it programmatically.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

You could deploy the WAR as an exploded directory. Then you can easily update the file.

[ June 10, 2008: Message edited by: Peter Johnson ]

[ June 10, 2008: Message edited by: Peter Johnson ]
[ June 10, 2008: Message edited by: Peter Johnson ]

JBoss In Action
 
wood burning stoves
 
subject: Modifying properties file in WAR