Re: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Martin Höller
On Monday 07 April 2008 Andreas Guther wrote: We see a difference in classpath loading between Surefire 2.3 and 2.4. Search the archive of this list on nabble.com for surefire 2.4 classpath and you'll find your answer. Note, that there was a bug in maven 2.0.7, so updating to a newer maven

Re: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Dan Fabulich
Andreas Guther wrote: Does anyone have an idea how to solve this issue and get the classes back on the path under Surefire 2.4? This is a somewhat frequently asked question, so I've written a wiki article about it:

RE: Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-08 Thread Andreas Guther
The solution to the problem is to configure Surefire 2.4.2 to not use the System Classloader, i.e in the following way: configurationuseSystemClassLoaderfalse/useSystemClassLoader/confi guration Or in more details: properties