Hot code replacement of xml files using JBOSS IDE for Eclipse 2.0
posted 4 years ago
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.
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.