3.ant编译
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin>
ant jar -Dversion=2.6.0 -Declipse.home=D:\eclipse\eclipse-hadoop\eclipse -Dhadoop.home=F:\hadoop\hadoop-2.6.0
我在cmd窗口下运行上面命令行,却在ivy-resolve-common卡住了,12分钟过去后显示
BUILD FAILED
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\build.xml:76
: C:\Program\plugins does not exist.
附上完整的编译过程:
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin>ant jar -Dve
rsion=2.6.0 -Declipse.home=C:\Program Files\eclipse\eclipse -Dhadoop.home=F:\had
oop\hadoop-2.6.0
Buildfile: F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\b
uild.xml
check-contrib:
init:
[echo] contrib: eclipse-plugin
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin\classes
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin\test
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin\system
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin\system\classes
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin\examples
[mkdir] Created dir: F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\
eclipse-plugin\test\logs
init-contrib:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = F:\hadoop\hadoop2x-eclipse-plugin-
master\ivy\ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.fil
e' instead
[ivy:cachepath] :: loading settings :: file = F:\hadoop\hadoop2x-eclipse-plugin-
master\ivy\ivysettings.xml
compile:
[echo] contrib: eclipse-plugin
[javac] F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\
build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysc
lasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to F:\hadoop\hadoop2x-eclipse-plugin-maste
r\build\contrib\eclipse-plugin\classes
BUILD FAILED
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\build.xml:76
: C:\Program\plugins does not exist.
Total time: 12 minutes 48 seconds
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin>
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = F:\hadoop\hadoop2x-eclipse-plugin-master\ivy\ivysettings.xml
compile:
[echo] contrib: eclipse-plugin
[javac] F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatab
le builds
[javac] Compiling 45 source files to F:\hadoop\hadoop2x-eclipse-plugin-master\build\contrib\eclipse-plugin\classes
BUILD FAILED
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\build.xml:76: C:\Program\plugins does not exist.
Total time: 3 seconds
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin>ant -version
Apache Ant(TM) version 1.9.4 compiled on April 29 2014
DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[javac] F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatab
F:\hadoop\hadoop2x-eclipse-plugin-master\src\contrib\eclipse-plugin\build.xml:76: C:\Program\plugins does not exist.