[DEV] upodate configure
This commit is contained in:
parent
cdbacb8bb5
commit
9be04fb7d7
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user