File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 JavaScript Promises Essentials this week in the JavaScript 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: 5842
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modifying properties file in WAR