You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/09/30 04:05:44 UTC

[jira] Created: (HADOOP-4310) eclipse plugin cannot be compiled in in windows

eclipse plugin cannot be compiled in in windows
-----------------------------------------------

                 Key: HADOOP-4310
                 URL: https://issues.apache.org/jira/browse/HADOOP-4310
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/eclipse-plugin
         Environment: Windows, Cygwin
            Reporter: Tsz Wo (Nicholas), SZE


{noformat}
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.
{noformat}
It seems that build-contrib.xml messed up the path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4310) eclipse plugin cannot be compiled in in windows

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638385#action_12638385 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4310:
------------------------------------------------

> Does it work with ant -Declipse.home='d:\eclipse-java-ganymede-win32' compile-contrib ? 
Got some differnt errors:
{noformat}
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$ 
{noformat}

> eclipse plugin cannot be compiled in in windows
> -----------------------------------------------
>
>                 Key: HADOOP-4310
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4310
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>         Environment: Windows, Cygwin
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
> 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.
> {noformat}
> It seems that build-contrib.xml messed up the path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4310) eclipse plugin cannot be compiled in in windows

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635871#action_12635871 ] 

Chris Douglas commented on HADOOP-4310:
---------------------------------------

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...

> eclipse plugin cannot be compiled in in windows
> -----------------------------------------------
>
>                 Key: HADOOP-4310
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4310
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/eclipse-plugin
>         Environment: Windows, Cygwin
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
> 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.
> {noformat}
> It seems that build-contrib.xml messed up the path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.