ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter, Matthias" <>
Subject AW: ant-problem after upgrading from junit 4.4 to junit 4.6
Date Thu, 14 May 2009 13:15:00 GMT
Ok, I got it.

SpringMethodRoadie uses AssumptionViolatdException, but this Exception disappeared in 4.6.

Thanks a lot for your help!


-----Ursprüngliche Nachricht-----
Von: Stefan Bodewig [] 
Gesendet: Donnerstag, 14. Mai 2009 14:37
Betreff: Re: ant-problem after upgrading from junit 4.4 to junit 4.6

On 2009-05-14, Walter, Matthias <> 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(

I don't think this is the current source, but
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.


To unsubscribe, e-mail:
For additional commands, e-mail:


Informationen (einschliesslich Pflichtangaben) zu einzelnen, innerhalb der EU
taetigen Gesellschaften und Zweigniederlassungen der CITTI-Gruppe finden Sie unter Diese E-Mail enthaelt vertrauliche
und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort
den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

Please refer to for information
(including mandatory corporate particulars) on selected CITTI branches and group
companies registered or incorporated in the European Union. This e-mail may contain
confidential and/or privileged information. If you are not the intended recipient
(or have received this e-mail in error) please notify the sender immediately and
delete this e-mail. Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message