ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.kitt.rei...@gmail.com>
Subject Re: ant-problem after upgrading from junit 4.4 to junit 4.6
Date Thu, 14 May 2009 09:41:31 GMT
It is very very unlikely that cobertura is the problem
Most likely the use'r code was compiled against one
version of junit and tested with a different version.

Peter


On Thu, May 14, 2009 at 10:31 AM, Stefan Bodewig <bodewig@apache.org> wrote:
> Hi Matthias,
>
> On 2009-05-14, Walter, Matthias <M.Walter@citti.de> wrote:
>
>> Hello there,
>
>> I'm not quite sure if this is the correct mailing list for my problem,
>> please forgive me, if not.
>
>> I have a problem after upgrading junit from 4.4 to 4.6 on a Hudson
>> Server.
>
>> I get the error message:
>
>> [junit] Running org.path.to.my.test.class.SqliteBackupManagerTest
>> [junit] Testsuite: org.path.to.my.test.class.SqliteBackupManagerTest
>
>> /some/path/to/my/build.xml:188: java.lang.NoClassDefFoundError:
>> org/junit/Assume$AssumptionViolatedException
>
> could you provide the full stacktrace (running ant in verbose mode, if
> necessary)?
>
> I've grepped through Ant's sources and can't find any reference to
> AssumptionViolatedException or he Assume class in Ant's trunk or Ant
> 1.7.1.
>
> It may be some other library/tool that you are using during your test.
> Cobertura is a likely candidate.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Mime
View raw message