wc = configType.newInstance(null, launchConfigName);
RunJettyRunTab.initDefaultConfiguration(wc, type.getProject(), 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\\web.xml");
}
} catch (CoreException exception) {
showError( exception.getStatus().getMessage());