}
protected ILaunchConfiguration createConfiguration(IFile rsrc) throws CoreException {
ILaunchConfigurationType configType = getConfigurationType();
String projectName = rsrc.getProject().getName();
ILaunchConfigurationWorkingCopy wc = configType.newInstance(null, getLaunchManager().generateLaunchConfigurationName(projectName+" "+rsrc.getName()));
BootGroovyScriptLaunchConfigurationDelegate.setScript(wc, rsrc);
wc.setMappedResources(new IResource[] {rsrc});
//Normally you should call:
//config = wc.doSave();
//But we skip it for now. The launch conf will not be saved so it will be 'transient'.