modifies the load script and fixes the prepare bug

git-svn-id: https://svn.libreccm.org/ccm/trunk@3756 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-12-02 10:27:53 +00:00
parent 726ffe388a
commit 07affdd2d1
1 changed files with 6 additions and 3 deletions

View File

@ -276,8 +276,7 @@ class Load extends Command implements LoadCenter {
//Loads the collected configuration-parameters and data-
//scripts. Saves the configuration.
if (!contexts.load(new JavaPropertyReader(parameters), System.err) ||
!saveConfig(config)) {
if (!contexts.load(new JavaPropertyReader(parameters), System.err)) {
return false;
}
@ -291,6 +290,10 @@ class Load extends Command implements LoadCenter {
return false;
}
if (!saveConfig(config)) {
return false;
}
Session ssn = null;
//All --schema and --data specific tasks.
@ -759,4 +762,4 @@ class Load extends Command implements LoadCenter {
loader.loadInits(ssn);
}
}
}
}