getProgramArguments(configuration));
// Create VM configuration
// here the classpath means for the Jetty Server , not for the
// application! by TonyQ 2011/3/7
VMRunnerConfiguration runConfig = new VMRunnerConfiguration(
Plugin.BOOTSTRAP_CLASS_NAME,
getJettyClasspath(configuration));
// logger to list classpaths
// for(String path:getJettyClasspath(configuration)){
// System.out.println("path:"+path);
// }
runConfig.setProgramArguments(execArgs.getProgramArgumentsArray());
// Environment variables
runConfig.setEnvironment(getEnvironment(configuration));
boolean debug = ILaunchManager.DEBUG_MODE.equals(mode);
// Here prepare the classpath is really for webapp in Runtime
// Arguments , too.
runConfig.setVMArguments(getRuntimeArguments(configuration,
execArgs.getVMArgumentsArray(),debug));
runConfig
.setWorkingDirectory(getWorkingDirectoryAbsolutePath(configuration));
runConfig
.setVMSpecificAttributesMap(getVMSpecificAttributesMap(configuration));
// Boot path
runConfig.setBootClassPath(getBootpath(configuration));
// check for cancellation
if (monitor.isCanceled())
return;