File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
org.nodeclipse.debug/src/org/nodeclipse/debug/launch Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11package org .nodeclipse .debug .launch ;
22
3+ import org .eclipse .core .resources .IContainer ;
34import org .eclipse .core .resources .IFile ;
45import org .eclipse .core .runtime .CoreException ;
56import org .eclipse .debug .core .DebugPlugin ;
@@ -103,8 +104,14 @@ private ILaunchConfiguration createLaunchConfiguration(ILaunchConfigurationType
103104 }
104105 }
105106
107+ IContainer container = null ;
108+ //TODO save LaunchConfiguration in project's .settings folder by default
109+ // if(true){
110+ // container =
111+ // }
112+
106113 // create a new configuration for the file
107- ILaunchConfigurationWorkingCopy workingCopy = type .newInstance (null , configname );
114+ ILaunchConfigurationWorkingCopy workingCopy = type .newInstance (container , configname );
108115 workingCopy .setAttribute (Constants .KEY_FILE_PATH , path );
109116 setMoreAttributes (workingCopy );
110117 return workingCopy .doSave ();
You can’t perform that action at this time.
0 commit comments