XMLConfiguration forgeXml;
try {
forgeXml = new XMLConfiguration(getProjectSettings(project).getUnderlyingResourceObject());
}
catch (org.apache.commons.configuration.ConfigurationException e) {
throw new ConfigurationException(e);
}
forgeXml.setReloadingStrategy(new FileChangedReloadingStrategy());
forgeXml.setAutoSave(true);
projectConfig.setScopedConfiguration(ConfigurationScope.PROJECT,
new ConfigurationAdapter(projectConfig, forgeXml));