if (status.isOK()) {
ForrestManager forrestManager = ForrestManager.getInstance();
String confPath = ForrestManager.FORREST_CORE_WEBAPP
+ File.separatorChar + "jettyconf.xml";
try {
Server jetty = new Jetty(confPath,
ForrestManager.FORREST_CORE_WEBAPP,
ForrestManager.FORREST_ENDORSED_LIB, forrestManager
.getProperties(workingDir), ForrestManager
.getClasspathFiles());
status = jetty.start(monitor);
if (status.isOK()) {
ForrestManager.setServerLaunch(jetty.getLaunch());
} else {
ForrestManager.setServerLaunch(null);
}
} catch (IOException e) {
logger.error("run(IProgressMonitor)", e);