modifies the load script and fixes the prepare bug
git-svn-id: https://svn.libreccm.org/ccm/trunk@3756 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
726ffe388a
commit
07affdd2d1
|
|
@ -276,8 +276,7 @@ class Load extends Command implements LoadCenter {
|
||||||
|
|
||||||
//Loads the collected configuration-parameters and data-
|
//Loads the collected configuration-parameters and data-
|
||||||
//scripts. Saves the configuration.
|
//scripts. Saves the configuration.
|
||||||
if (!contexts.load(new JavaPropertyReader(parameters), System.err) ||
|
if (!contexts.load(new JavaPropertyReader(parameters), System.err)) {
|
||||||
!saveConfig(config)) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -291,6 +290,10 @@ class Load extends Command implements LoadCenter {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!saveConfig(config)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
Session ssn = null;
|
Session ssn = null;
|
||||||
|
|
||||||
//All --schema and --data specific tasks.
|
//All --schema and --data specific tasks.
|
||||||
|
|
@ -759,4 +762,4 @@ class Load extends Command implements LoadCenter {
|
||||||
loader.loadInits(ssn);
|
loader.loadInits(ssn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue