佳音的博客

2010/02/25

hadoop0.20.1 eclipse plugin

Filed under: hadoop — 佳音 @ 3:33 下午

http://issues.apache.org/jira/browse/MAPREDUCE-1262

src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java

@@ -32,7 +32,7 @@
-import org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut;
+import org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut;

@@ -65,6 +65,10 @@
ILaunchConfiguration iConf =
super.findLaunchConfiguration(type, configType);

+    if(iConf == null){
+      return null;
+    }
+
ILaunchConfigurationWorkingCopy iConfWC;
try {
/*

cd  src/contrib/eclipse-plugin/

ant jar -Declipse.home=/usr/local/eclipse   ///usr/local/eclipse your eclipse home

Powered by 00RZ