diff options
author | Darin Wright | 2002-11-06 19:12:38 +0000 |
---|---|---|
committer | Darin Wright | 2002-11-06 19:12:38 +0000 |
commit | 98a71ae1c661cde51a59e3f6d053f917cda3e60c (patch) | |
tree | b6dac4b154f704a79b10398c6bc08eb19261ff38 /org.eclipse.ui.externaltools/Program Tools Support/org/eclipse | |
parent | d6737950f7a18468da4e1d81a9fbdcb5461490f4 (diff) | |
download | eclipse.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/org/eclipse')
-rw-r--r-- | org.eclipse.ui.externaltools/Program Tools Support/org/eclipse/ui/externaltools/internal/program/launchConfigurations/ProgramLaunchDelegate.java | 6 |
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; |