hdt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ad...@apache.org
Subject [1/5] git commit: findLaunchConfiguration is no longer called in the JavaLaunchShortcut chain, so switched to createConfiguration to correctly bring up the RunOnHadoopWizard
Date Sat, 13 Apr 2013 17:58:45 GMT
Updated Branches:
  refs/heads/hadoop-2 be54915bd -> 1c9333b0c


findLaunchConfiguration is no longer called in the JavaLaunchShortcut
chain, so switched to createConfiguration to correctly bring up the
RunOnHadoopWizard

Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/1d8a2c9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/1d8a2c9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/1d8a2c9c

Branch: refs/heads/hadoop-2
Commit: 1d8a2c9c49c04da19992c8d006faf62a6bdd455a
Parents: be54915
Author: adamb <adamb@apache.org>
Authored: Fri Apr 12 13:44:39 2013 -0500
Committer: adamb <adamb@apache.org>
Committed: Fri Apr 12 13:44:39 2013 -0500

----------------------------------------------------------------------
 .../launch/HadoopApplicationLaunchShortcut.java    |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/1d8a2c9c/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
----------------------------------------------------------------------
diff --git a/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
b/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
index 0377571..bcf84e2 100644
--- a/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
+++ b/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
@@ -58,13 +58,9 @@ public class HadoopApplicationLaunchShortcut extends
 
   /* @inheritDoc */
   @Override
-  protected ILaunchConfiguration findLaunchConfiguration(IType type,
-      ILaunchConfigurationType configType) {
+  protected ILaunchConfiguration createConfiguration(IType type) {
 
-    // Find an existing or create a launch configuration (Standard way)
-    ILaunchConfiguration iConf =
-        super.findLaunchConfiguration(type, configType);
-    if (iConf == null) iConf = super.createConfiguration(type);
+    ILaunchConfiguration iConf = super.createConfiguration(type);
     ILaunchConfigurationWorkingCopy iConfWC;
     try {
       /*


Mime
View raw message