ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant-problem after upgrading from junit 4.4 to junit 4.6
Date Thu, 14 May 2009 12:37:23 GMT
On 2009-05-14, Walter, Matthias <M.Walter@citti.de> wrote:

> Hi there,

> the stacktrace is

> 	[junit] Exception in thread "main" java.lang.NoClassDefFoundError: org/junit/Assume$AssumptionViolatedException
> 	[junit] 	at org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:240)

I don't think this is the current source, but
<http://springframework.cvs.sourceforge.net/viewvc/springframework/spring/tiger/mock/org/springframework/test/context/junit4/SpringMethodRoadie.java?revision=1.13&view=markup>
contains a hard reference to the class in question.

So it's not Ant but the Spring test context that fails when used with
JUnit 4.6.

> The files are compiled against 4.6 and run with 4.6. However, the
> problem disappears if I change forkmode from "once" to
> "perTest". This is doing the job for me....

This is something I don't understand, at all.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message