This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 5852
    
    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
 
 
subject: Modifying properties file in WAR
 
It's not a secret anymore!