wiki:apache-ant

Apache Ant

The build of the apache-ant-1.7.0 was failing due to missing junit.jar file (seems to be mandatory). The work around the issue was to download the junit-4.4.jar file, create lib/optional directory in the ant source tree and mv the downloaded file as lib/optional/junit.jar.

As of version 1.9.4, hamcrest is also required for tests. The instructions in the book account for that. Alternatively, it is possible to disable tests with:

sed -i 's/jars,test-jar/jars/' build.xml

Up
Top

Last modified 9 years ago Last modified on 05/15/2014 12:08:49 PM
Note: See TracWiki for help on using the wiki.