Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2002-11-06 19:12:38 +0000
committerDarin Wright2002-11-06 19:12:38 +0000
commit98a71ae1c661cde51a59e3f6d053f917cda3e60c (patch)
treeb6dac4b154f704a79b10398c6bc08eb19261ff38 /org.eclipse.ui.externaltools/Program Tools Support
parentd6737950f7a18468da4e1d81a9fbdcb5461490f4 (diff)
downloadeclipse.platform.debug-98a71ae1c661cde51a59e3f6d053f917cda3e60c.tar.gz
eclipse.platform.debug-98a71ae1c661cde51a59e3f6d053f917cda3e60c.tar.xz
eclipse.platform.debug-98a71ae1c661cde51a59e3f6d053f917cda3e60c.zip
variable context for build commands
Diffstat (limited to 'org.eclipse.ui.externaltools/Program Tools Support')
-rw-r--r--org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java
index e7a351fcc..3ecf0b851 100644
--- a/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java
+++ b/org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java
@@ -11,7 +11,6 @@ Contributors:
import java.io.File;
-import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -51,9 +50,8 @@ public class ProgramLaunchDelegate implements ILaunchConfigurationDelegate {
return;
}
- // get resource context
- IResource resource = ExternalToolsUtil.getActiveResource();
- ExpandVariableContext resourceContext = new ExpandVariableContext(resource);
+ // get variable context
+ ExpandVariableContext resourceContext = ExternalToolsUtil.getVariableContext();
if (monitor.isCanceled()) {
return;

Back to the top