I just verified that I was using the antscript option in my cruise
config.xml.  Thanks for the idea, though.

Chris


On 3/30/07, Dominique Devienne <[EMAIL PROTECTED]> wrote:
On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote:
> [...] The junit task doesn't override any forking or
> classloading defaults.
> [...] Now, if I set the junit options to be fork="true" and forkmode="once",
> calling the master build.xml through the command line and eclipse
> works perfectly; calling through cruisecontrol will execute many of
> the tests, but other tests fail.  I believe some of the failing tests
> work with classes that have static members, but it's still odd that
> everything works in 2 of the 3 calling mechanisms.

It could be that the classpath used by CruiseControl itself "pollutes"
your project classpath. We always used the script option of the CC Ant
builder, which allows to script to use its own JDK and classpath,
independent of what CC is using, and then forks a "clean" VM, separate
from the CC one. You could troubleshoot this by looking at the
classpath used in all cases and compare them, running in verbose mode.
--DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to