logo       

Re: Building from CVS: msg#00067

java.cruise-control.user

Subject: Re: Building from CVS

On Dec 16, 2003, at 5:43 PM, Jeffrey Fredrick wrote:
Looks like your version of jdom requires a version of xerces that you don't
have on the classpath.

Does it work if you build w/just the files in the .zip, w/out adding your
own jars? (it should)

I tried unsetting my classpath, explicitly setting my classpath to the jar files
distributed with CruiseControl, using the latest versions of all the jar files
and some other permutations.

I finally got to the point where I was questioning the actual java executable
and that turned out to be the cause. The default java on the machine was
1.4.0-beta.

Once I started using a 1.4.2 java, CruiseControl 2.1.4 passed all its tests.
The CVS version failed the FileSystemTest with this error:

[junit] Testcase: testGettingModifications(net.sourceforge.cruisecontrol.sourcecontrols.Fi leSystemTest): FAILED
[junit] expected:<2> but was:<0>
[junit] junit.framework.AssertionFailedError: expected:<2> but was:<0>
[junit] at net.sourceforge.cruisecontrol.sourcecontrols.FileSystemTest.testGettingM odifications(FileSystemTest.java:117)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25)

Of course, given my previous email, you should probably take that report with
a LARGE grain of salt :-)

Anyway, thanks for the suggestions!



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise