Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
M4, 0.5
-
None
-
None
-
Ubuntu 8.04, Ant 1.7.0, Sun JDK 1.6.0_07, JavaCC 4.1d1
Description
When trying to build the java sources of these releases, the following error occurs:
BUILD FAILED
/home/mss/Desktop/qpid-0.5/java/build.xml:139: The following error occurred while executing this line:
/home/mss/Desktop/qpid-0.5/java/build.xml:54: The following error occurred while executing this line:
/home/mss/Desktop/qpid-0.5/java/broker/build.xml:35: Problem: failed to create task or type javacc
Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/home/mss/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem