Issue Details (XML | Word | Printable)

Key: HADOOP-4310
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Tsz Wo (Nicholas), SZE
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

eclipse plugin cannot be compiled in in windows

Created: 30/Sep/08 02:04 AM   Updated: 09/Oct/08 08:52 PM
Return to search
Component/s: contrib/eclipse-plugin
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows, Cygwin
Issue Links:
Reference
 


 Description  « Hide
bash-3.2$ ant -Declipse.home=/cygdrive/d/eclipse-java-ganymede-win32/
Buildfile: build.xml
...
BUILD FAILED
d:\@sze\hadoop\latest\src\contrib\build-contrib.xml:112: d:\cygdrive\d\eclipse-java-ganymede-win32\plugins not found.

It seems that build-contrib.xml messed up the path.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Chris Douglas added a comment - 30/Sep/08 10:06 PM
According to HADOOP-3744, there are some issues with ganymede, but this looks like a separate issue. Does it work with ant -Declipse.home='d:\eclipse-java-ganymede-win32' compile-contrib ? It doesn't look like there are any recent changes to contrib build files that would change the way this path is handled...

Tsz Wo (Nicholas), SZE added a comment - 09/Oct/08 08:50 PM
> Does it work with ant -Declipse.home='d:\eclipse-java-ganymede-win32' compile-contrib ?
Got some differnt errors:
bash-3.2$ ant -Declipse.home='d:\eclipse-java-ganymede-win32' compile-contrib
Buildfile: build.xml

...

init-contrib:

compile:
     [echo] contrib: eclipse-plugin
    [javac] Compiling 45 source files to d:\@sze\hadoop\latest\build\contrib\eclipse-plugin\classes
    [javac] d:\@sze\hadoop\latest\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:\@sze\hadoop\latest\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:\@sze\hadoop\latest\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:\@sze\hadoop\latest\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

BUILD FAILED
d:\@sze\hadoop\latest\build.xml:416: The following error occurred while executing this line:
d:\@sze\hadoop\latest\src\contrib\build.xml:30: The following error occurred while executing this line:
d:\@sze\hadoop\latest\src\contrib\build-contrib.xml:112: Compile failed; see the compiler error output for details.

Total time: 15 seconds
bash-3.2$