This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes  Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark " Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0  " Watch " Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0  " New topic
Author

Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0

Phani Chaitanya
Greenhorn

Joined: Jan 16, 2012
Posts: 9
Hi,
Im looking for a way to achieve hot code replacement of xml files. Here im not talking about configuration files like struts-config.xml or web.xml. Im talking about user defined xml files, which i parse using digester. Generally if i make any change to the xml files i have to undeploy it, rebuild using ant tool and redeploy it. Im currently using JBOSS IDE for Eclipse 2.0.

Thanks in advance.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Does your code check to see if the xml file has been changed, and then reload it? If so, then you can accomplish this using an exploded deployment and simply copying over the file into the apps exploded deployment directory.

If you code does not check if the xml file has been updated, then nothing you do short of redeploying the application will work.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0
 
Similar Threads
Eclipse source code
Enable hot code replace function in Jboss
regarding CVS