You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Aviad sela <se...@gmail.com> on 2009/03/12 21:00:12 UTC

Building Release 0.19.1

Building the eclipse project in windows XP, using Eclipse 3.4
results with the following error.
It seems that some of the jars to build the projects are missing
*

compile*:
[*echo*] contrib: eclipse-plugin
[*javac*] Compiling 45 source files to
D:\Work\AviadWork\workspace\cur\W_ECLIPSE\E34_Hadoop_Core_19_1\Hadoop\build\contrib\eclipse-plugin\classes
[*javac*] *
D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
*:35: cannot find symbol
[*javac*] symbol : class JavaApplicationLaunchShortcut
[*javac*] location: package org.eclipse.jdt.internal.debug.ui.launcher
[*javac*] import
org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut;
[*javac*] ^
[*javac*] *
D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
*:49: cannot find symbol
[*javac*] symbol: class JavaApplicationLaunchShortcut
[*javac*] JavaApplicationLaunchShortcut {
[*javac*] ^
[*javac*] *
D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
*:66: cannot find symbol
[*javac*] symbol : variable super
[*javac*] location: class
org.apache.hadoop.eclipse.launch.HadoopApplicationLaunchShortcut
[*javac*] super.findLaunchConfiguration(type, configType);
[*javac*] ^
[*javac*] *
D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
*:60: method does not override or implement a method from a supertype
[*javac*] @Override
[*javac*] ^
[*javac*] Note: Some input files use or override a deprecated API.
[*javac*] Note: Recompile with -Xlint:deprecation for details.
[*javac*] Note: Some input files use unchecked or unsafe operations.
[*javac*] Note: Recompile with -Xlint:unchecked for details.
[*javac*] 4 errors

Re: Building Release 0.19.1

Posted by Kevin Peterson <kp...@biz360.com>.
There may be a separate issue with windows, but the error related to:

    [javac] import
org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut;

is the eclipse 3.4 issue that is addressed by the patch in
https://issues.apache.org/jira/browse/HADOOP-3744

Re: Building Release 0.19.1

Posted by "Tsz Wo (Nicholas), Sze" <s2...@yahoo.com>.
Hi Aviad,

You are right.  The eclipse plugin cannot be compiled in in windows.  See also HADOOP-4310,
https://issues.apache.org/jira/browse/HADOOP-4310

Nicholas Sze



----- Original Message ----
> From: Aviad sela <se...@gmail.com>
> To: Hadoop Users Support <co...@hadoop.apache.org>
> Sent: Thursday, March 12, 2009 1:00:12 PM
> Subject: Building Release 0.19.1
> 
> Building the eclipse project in windows XP, using Eclipse 3.4
> results with the following error.
> It seems that some of the jars to build the projects are missing
> *
> 
> compile*:
> [*echo*] contrib: eclipse-plugin
> [*javac*] Compiling 45 source files to
> D:\Work\AviadWork\workspace\cur\W_ECLIPSE\E34_Hadoop_Core_19_1\Hadoop\build\contrib\eclipse-plugin\classes
> [*javac*] *
> D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
> *:35: cannot find symbol
> [*javac*] symbol : class JavaApplicationLaunchShortcut
> [*javac*] location: package org.eclipse.jdt.internal.debug.ui.launcher
> [*javac*] import
> org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut;
> [*javac*] ^
> [*javac*] *
> D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
> *:49: cannot find symbol
> [*javac*] symbol: class JavaApplicationLaunchShortcut
> [*javac*] JavaApplicationLaunchShortcut {
> [*javac*] ^
> [*javac*] *
> D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
> *:66: cannot find symbol
> [*javac*] symbol : variable super
> [*javac*] location: class
> org.apache.hadoop.eclipse.launch.HadoopApplicationLaunchShortcut
> [*javac*] super.findLaunchConfiguration(type, configType);
> [*javac*] ^
> [*javac*] *
> D:\Work\Hadoop\src\contrib\eclipse-plugin\src\java\org\apache\hadoop\eclipse\launch\HadoopApplicationLaunchShortcut.java
> *:60: method does not override or implement a method from a supertype
> [*javac*] @Override
> [*javac*] ^
> [*javac*] Note: Some input files use or override a deprecated API.
> [*javac*] Note: Recompile with -Xlint:deprecation for details.
> [*javac*] Note: Some input files use unchecked or unsafe operations.
> [*javac*] Note: Recompile with -Xlint:unchecked for details.
> [*javac*] 4 errors