hadoop0 release0.20.0编译出错
ant jar 成功
ant package (eclipse-files)失败:build.xml:908: 'java5.home' is not defined. Forrest requires Java 5
解决方案之一是:注释掉904与908行
<target name="forrest.check" unless="forrest.home" depends="java5.check"><!--<fail message="'forrest.home' is not defined. Please pass -Dforrest.home=<base of Apache Forrest installation> to Ant on the command-line." />--></target><target name="java5.check" unless="java5.home"><!--<fail message="'java5.home' is not defined. Forrest requires Java 5. Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line." />--></target>