- configuration = new Configuration(new XMLConfigurationBackend(new File("sone.xml"), true));
- } catch (ConfigurationException ce1) {
- logger.log(Level.SEVERE, "Could not load or create the “sone.xml” configuration file!");
+ xmlConfiguration = new Configuration(new XMLConfigurationBackend(new File("sone.xml"), true));
+ } catch (ConfigurationException ce2) {
+ logger.log(Level.SEVERE, "Could not create XML file, using Plugin Store!");
+ }
+ try {
+ configuration = new Configuration(new PluginStoreConfigurationBackend(pluginRespirator));
+ } catch (DatabaseDisabledException dde1) {
+ logger.log(Level.SEVERE, "Could not load any configuration, using in-memory configuration!");