Compile failing with: /home/sipx/sipx/sipXtackLib/ant-targets.xml:222: Could not create task or type of type: junit.
Please help. Useful info below. [EMAIL PROTECTED] BUILD]$ uname -a Linux pbx2 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] BUILD]$ cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 6) [EMAIL PROTECTED] BUILD]$ env | egrep 'PATH|JAVA|ANT' ANT_HOME=/opt/apache-ant/ PATH=/usr/local/java/bin:/usr/local/java/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin JAVA_HOME=/usr/local/java ANT=/opt/apache-ant/bin/ant [EMAIL PROTECTED] BUILD]$ locate junit | grep -v .svn | grep -v /manual/ /home/sipx/sipx/sipXconfig/lib/junitperf-1.9.1.jar /home/sipx/sipx/sipXconfig/lib/junit-3.8.1.jar /home/sipx/sipx/sipXconfig/doc/license/junit-LICENSE.txt /home/sipx/sipx/sipXconfig/doc/license/junitperf-LICENSE.txt /home/sipx/sipx/sipXtools/preflight/lib/junit-4.3.1.jar /home/sipx/sipx/sipXpbx/sipXpage/lib/junit-3.8.1.jar /home/sipx/sipx/sipXtackLib/lib/junit.jar /home/sipx/sipx/sipXtackLib/doc/license/junit-LICENSE.txt /opt/apache-ant/lib/ant-junit.jar /opt/apache-ant/etc/junit-frames-xalan1.xsl /opt/apache-ant/etc/junit-noframes.xsl /opt/apache-ant/etc/junit-frames.xsl [EMAIL PROTECTED] BUILD]$ make <snip most of make> Making check in include make[5]: Entering directory `/home/sipx/sipx/BUILD/sipXtackLib/siptest/include' make[5]: Nothing to be done for `check'. make[5]: Leaving directory `/home/sipx/sipx/BUILD/sipXtackLib/siptest/include' make[5]: Entering directory `/home/sipx/sipx/BUILD/sipXtackLib/siptest' make[5]: Nothing to be done for `check-am'. make[5]: Leaving directory `/home/sipx/sipx/BUILD/sipXtackLib/siptest' make[4]: Leaving directory `/home/sipx/sipx/BUILD/sipXtackLib/siptest' Making check in sipviewer make[4]: Entering directory `/home/sipx/sipx/BUILD/sipXtackLib/sipviewer' JAVA_HOME=/usr/local/java /opt/apache-ant/bin/ant -e -Dtop.build.dir=`cd .. && pwd` -f ../../../sipXtackLib/sipviewer/build.xml test Buildfile: ../../../sipXtackLib/sipviewer/build.xml subtest: init: entering sipviewer compile: compile.test: realtest: BUILD FAILED /home/sipx/sipx/sipXtackLib/ant-targets.xml:222: Could not create task or type of type: junit. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual <snip generic ant message> Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. Total time: 4 seconds make[4]: *** [check] Error 1 make[4]: Leaving directory `/home/sipx/sipx/BUILD/sipXtackLib/sipviewer' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/home/sipx/sipx/BUILD/sipXtackLib' make[2]: *** [check] Error 2 make[2]: Leaving directory `/home/sipx/sipx/BUILD/sipXtackLib' make[1]: *** [recurse] Error 1 make[1]: Leaving directory `/home/sipx/sipx/BUILD' make: *** [build] Error 2 _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
