ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <>
Subject Re: JUnit4 requirement (was Re: svn commit: r1460264)
Date Mon, 06 May 2013 09:00:58 GMT

I have noticed a bug report CASSANDRA-5388  concerning Ant 1.9.0 and JUnit library dependencies.

Maybe this bug report can help to clarify the exact dependencies of Ant concerning JUnit.

The current "install.html" in svn says that Ant is dependent upon junit.jar without specifying
minimal versions and without differentiating between junit3 and junit4.

It would help if someone would explain the dependency in more detail.



On Mar 30, 2013, at 2:44 PM, Stefan Bodewig wrote:

> On 2013-03-28, Stefan Bodewig wrote:
>> On 2013-03-27, Michael Clarke wrote:
>>>>> * the optional ant-junit4.jar has been merged into ant-junit.jar
>>>>> as Ant now requires JUnit4.
>>> Is it really the case that Ant requires JUnit4? The changes I
>>> introduced for @Ignore annotations in Ant 1.9.0 shouldn't impact
>>> backwards compatibility with JUnit3 and I don't believe any other
>>> changes in the 1.9.0 release force users to need the JUnit4 jar whilst
>>> running tests.
>> Some classes in the junit package didn't seem to compile in Gump, I
>> think BriefJUnitFormatter was one of them.
> The formatter all now import org.junit.Ignore so require JUnit 4 at
> compile time.  It may stil be possible to use JUnit 3 at runtime.
> Stefan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message