我在build hadoop的时候 发现ant有不支持的标签
Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested "typefound" element.
在这里得到解决:
http://getsatisfaction.com/cloudera/topics/make_sure_srpms_can_be_rebuilt_on_rhel
- Download the Apache Ant 1.8.0 tarball
- Extract it
- Setup the environment variable ANT_HOME to point to the location you extracted the tarball
- Add $ANT_HOME/bin to the front of your $PATH
在.bash_profile里面设置