File file = new File(args[0]);
logger.info("starting with configuration file " + file.getAbsolutePath());
final ArrayList<Object> list = new ArrayList<Object>();
final XmlOptions options = new XmlOptions();
options.setErrorListener(list);
final JzeemapConfigurationDocument doc = JzeemapConfigurationDocument.Factory.parse(file);
boolean validate = doc.validate(options);
if (!validate) {
throw new XmlException("", null, list);
} else {
final App app = new App(doc.getJzeemapConfiguration());
app.start();
}
} catch (XmlException ex) {
logger.error("could not parse configuration:");
for (final Object o : ex.getErrors()) {