RunJettyRunTab.initDefaultConfiguration(wc,
proj == null ? null : proj.getName(), launchConfigName);
//set mapped resource , let next time we could execute this directly from menuitem.
wc.setMappedResources(new IResource[] {type});
config = wc.doSave();
}else{
showError("Project is not a regular webapp project (missing WEB-INF)");
}
} catch (CoreException exception) {
showError( exception.getStatus().getMessage());