Compiling Cruisecontrol source

Zach <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <1258560752.4513.8.camel@saintmichelle>
Since there hasn't been a recent release of Cruisecontrol with the
AntBuildOutput fixes, I'm attempting to compile from source.  I have ant
installed as well as JUnit.  When I try to compile ant (by running "ant"
in the source directory) I get an error:

BUILD FAILED
/opt/cruisecontrol-src-trunk/cruisecontrol/build.xml:35: The following
error occurred while executing this line:
/opt/cruisecontrol-src-trunk/cruisecontrol/main/build.xml:325: The
following error occurred while executing this line:
/opt/cruisecontrol-src-trunk/cruisecontrol/main/loggers/build.xml:31:
Problem: failed to create task or type junit
Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
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/cruisecontrol/.ant/lib
        -a directory added on the command line with the -lib argument

I have ant-junit.jar and junit.jar in /usr/share/ant/lib
and /home/cruisecontrol/.ant/lib.  I've tried specifying the -lib
argument to both of these directories as well.  The machine is Fedora
Core 8.  Info on packages:
Ant:
Name   : ant
Arch   : i386
Version: 1.7.0
Release: 1jpp.2.fc8
Size   : 5.0 M
Repo   : installed
Summary: Ant build tool for java
Ant-nodeps:
Name   : ant-nodeps
Arch   : i386
Version: 1.7.0
Release: 1jpp.2.fc8
Size   : 1.6 M
Repo   : installed
Summary: Optional tasks for ant
JUnit:
Name   : junit
Arch   : i386
Version: 3.8.2
Release: 3jpp.3.fc8
Size   : 544 k
Repo   : installed
Summary: Java regression test package

Any ideas?  Is there any way to disable the JUnit testing?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.