安装ant时候
BUILD FAILED
/tmp/apache-ant-1.9.2/build.xml:986: The following error occurred while executing this line:/tmp/apache-ant-1.9.2/build.xml:778: We cannot build the test jar unless JUnit is present,
as JUnit is needed to compile the test classes.
解决方案:
- Any CLASSPATH variable that you set will be ignored by the bootstrap &
- build scripts as they manage the build classpath
- Check in the source code under lib/optional, there should be a junit
- jar there. If there isn't, copy a junit jar into
- lib/optional and try running bootstrap.sh again
- https://github.com/junit-team/junit/wiki/Download-and-Install