You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jack Woehr <jw...@absolute-performance.com> on 2013/06/14 01:18:12 UTC

JUnit not found building on Mac MountainLion

What am I doing wrong, please?
$ echo $CLASSPATH
/opt/local/ant/lib/junit.jar
$ echo $ANT_HOME
/opt/local/ant
$ ./build.sh
/.../apache-ant-1.9.1/build.xml:1059: The following error occurred while
executing this line:
/.../apache-ant-1.9.1/build.xml:769: We cannot build the test jar unless
JUnit is present,
      as JUnit is needed to compile the test classes.

Total time: 6 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED