while ( server == null || !server.isRunning() );
psOut.println("Running Bootstrap Script");
// Execute The Bootstrap Script
CommandLine cl = new CommandLine();
cl.setClient(new dbXMLClientImpl());
cl.setProperty(CommandLine.TOTALS, Boolean.FALSE);
cl.setProperty(CommandLine.DURATIONS, Boolean.FALSE);
cl.setProperty(CommandLine.CONFIRM, Boolean.FALSE);
cl.setProperty(CommandLine.INTERACTIVE, Boolean.FALSE);
cl.setWriter(new OutputStreamWriter(psOut, "UTF8"));
cl.setErrorWriter(new OutputStreamWriter(psErr, "UTF8"));
FileInputStream fis = new FileInputStream("install/create-db.dbxml");
BufferedInputStream bis = new BufferedInputStream(fis, 4096);
InputStreamReader isr = new InputStreamReader(bis, "UTF8");
cl.setReader(isr);
cl.process();
psOut.println("Bootstrap Complete");
server.shutDown(0);
}
catch ( Exception e ) {