Eclipse plugin 使用eclipse构建hadoop插件
我正在使用Eclipse构建hadoop插件 hadoop版本是1.0.4 当我使用ant builder时,我得到如下错误Eclipse plugin 使用eclipse构建hadoop插件,eclipse-plugin,hadoop-plugins,Eclipse Plugin,Hadoop Plugins,我正在使用Eclipse构建hadoop插件 hadoop版本是1.0.4 当我使用ant builder时,我得到如下错误 compile: [echo] contrib: eclipse-plugin [javac] /home/shijieru/Downloads/HadoopInstall/hadoop-1.0.4/src/contrib/eclipse-plugin/build.xml:61: warning: 'includeantruntime' was not set, def
compile:
[echo] contrib: eclipse-plugin
[javac] /home/shijieru/Downloads/HadoopInstall/hadoop-1.0.4/src/contrib/eclipse-plugin/build.xml:61: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to /home/shijieru/Downloads/HadoopInstall/hadoop-1.0.4/build/contrib/eclipse-plugin/classes
[javac] /home/shijieru/Downloads/HadoopInstall/hadoop-1.0.4/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:28: error: error while writing Activator: could not create parent directories
[javac] public class Activator extends AbstractUIPlugin {
[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] 1 error
BUILD FAILED
/home/shijieru/Downloads/HadoopInstall/hadoop-1.0.4/src/contrib/eclipse-plugin/build.xml:61: Compile failed; see the compiler error output for details.
Total time: 3 seconds
谁能告诉我这些问题的原因可能是什么?
Thx您的问题似乎不是特定于hadoop的,但是目录权限—“无法创建父目录”是由javac输出的—请确保您对要编译的bin目录拥有适当的权限 (基于具有相同错误消息的类似问题:)