// Init and compile the workspace.
Status initStatus = new Status("Init status.");
workspaceManager.initWorkspace(getStreamProvider(), false, initStatus);
if (initStatus.getSeverity() != Status.Severity.OK) {
ml.logMessage(initStatus.asCompilerMessage());
}
long startCompile = System.currentTimeMillis();
// If there are no errors go ahead and compile the workspace.