private ILaunchConfiguration createLaunchConfiguration(ILaunchConfigurationType type, String path, IFile file) throws CoreException {
// create a new configuration for the file
ILaunchConfigurationWorkingCopy workingCopy = type.newInstance(null, file.getName());
workingCopy.setAttribute(Constants.KEY_FILE_PATH, path);
workingCopy.setAttribute(Constants.KEY_GOAL, getGoal());
return workingCopy.doSave();
}
@Override
public String getGoal() {
return Constants.BLANK_STRING;