[DEV] upodate configure

This commit is contained in:
Edouard DUPIN 2021-08-23 11:18:10 +02:00
parent cdbacb8bb5
commit 9be04fb7d7

View File

@ -99,11 +99,16 @@ public class ConfigManifest {
return root[0]; return root[0];
} }
public void store() { public void store() {
store(Env.get_island_path_config()); try {
store(Env.get_island_path_config());
} catch (ExmlBuilderException e) {
Log.error("Can not store the configuration ... ");
e.printStackTrace();
}
} }
public void store(final Path path) { public void store(final Path path) throws ExmlBuilderException {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
Exml.generate(this, builder); Exml.generate(this, "config-island", builder);
Log.warning("data generated: " + builder.toString()); Log.warning("data generated: " + builder.toString());
} }