Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 42288 invoked from network); 22 Sep 2010 20:51:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 20:51:39 -0000 Received: (qmail 45300 invoked by uid 500); 22 Sep 2010 20:51:39 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 45255 invoked by uid 500); 22 Sep 2010 20:51:38 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 45240 invoked by uid 99); 22 Sep 2010 20:51:38 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:51:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:51:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8129F238897D; Wed, 22 Sep 2010 20:50:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1000216 - in /hadoop/common/branches/branch-0.20: ./ src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/ src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/ Date: Wed, 22 Sep 2010 20:50:59 -0000 To: common-commits@hadoop.apache.org From: szetszwo@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100922205059.8129F238897D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: szetszwo Date: Wed Sep 22 20:50:59 2010 New Revision: 1000216 URL: http://svn.apache.org/viewvc?rev=1000216&view=rev Log: MAPREDUCE-1280. Update Eclipse plugin to the new eclipse.jdt API. Contributed by Alex Kozlov Modified: hadoop/common/branches/branch-0.20/CHANGES.txt hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java Modified: hadoop/common/branches/branch-0.20/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/CHANGES.txt?rev=1000216&r1=1000215&r2=1000216&view=diff ============================================================================== --- hadoop/common/branches/branch-0.20/CHANGES.txt (original) +++ hadoop/common/branches/branch-0.20/CHANGES.txt Wed Sep 22 20:50:59 2010 @@ -11,6 +11,9 @@ Release 0.20.3 - Unreleased BUG FIXES + MAPREDUCE-1280. Update Eclipse plugin to the new eclipse.jdt API. + (Alex Kozlov via szetszwo) + HADOOP-6760. WebServer shouldn't increase port number in case of negative port setting caused by Jetty's race (cos) Modified: hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java?rev=1000216&r1=1000215&r2=1000216&view=diff ============================================================================== --- hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java (original) +++ hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java Wed Sep 22 20:50:59 2010 @@ -32,7 +32,7 @@ import org.eclipse.debug.core.ILaunchCon import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.IType; import org.eclipse.jdt.core.JavaCore; -import org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut; +import org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut; import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; import org.eclipse.jdt.launching.IRuntimeClasspathEntry; import org.eclipse.jdt.launching.JavaRuntime; @@ -64,7 +64,7 @@ public class HadoopApplicationLaunchShor // Find an existing or create a launch configuration (Standard way) ILaunchConfiguration iConf = super.findLaunchConfiguration(type, configType); - + if (iConf == null) iConf = super.createConfiguration(type); ILaunchConfigurationWorkingCopy iConfWC; try { /* Modified: hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java?rev=1000216&r1=1000215&r2=1000216&view=diff ============================================================================== --- hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java (original) +++ hadoop/common/branches/branch-0.20/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java Wed Sep 22 20:50:59 2010 @@ -159,9 +159,9 @@ public class RunOnHadoopWizard extends W // Write it to the disk file try { - // File confFile = File.createTempFile("hadoop-site-", ".xml", + // File confFile = File.createTempFile("core-site-", ".xml", // confDir); - File confFile = new File(confDir, "hadoop-site.xml"); + File confFile = new File(confDir, "core-site.xml"); FileOutputStream fos = new FileOutputStream(confFile); conf.writeXml(fos); fos.close();