Configuration oldConfiguration;
Configuration newConfiguration = null;
boolean firstStart = !new File("sone.properties").exists();
Configuration oldConfiguration;
Configuration newConfiguration = null;
boolean firstStart = !new File("sone.properties").exists();
try {
oldConfiguration = new Configuration(new MapConfigurationBackend(new File("sone.properties"), false));
newConfiguration = oldConfiguration;
} catch (ConfigurationException ce1) {
try {
oldConfiguration = new Configuration(new MapConfigurationBackend(new File("sone.properties"), false));
newConfiguration = oldConfiguration;
} catch (ConfigurationException ce1) {
logger.log(Level.INFO, "Could not load configuration file, trying plugin store…", ce1);
try {
newConfiguration = new Configuration(new MapConfigurationBackend(new File("sone.properties"), true));
logger.log(Level.INFO, "Could not load configuration file, trying plugin store…", ce1);
try {
newConfiguration = new Configuration(new MapConfigurationBackend(new File("sone.properties"), true));
/* create the web interface. */
webInterface = new WebInterface(this);
webInterface.setFirstStart(firstStart);
/* create the web interface. */
webInterface = new WebInterface(this);
webInterface.setFirstStart(firstStart);