Bug#543327: junit4 has dropped ant jar

Onkar Shinde onkarshinde at ubuntu.com
Mon Aug 24 12:04:10 UTC 2009


On Mon, Aug 24, 2009 at 4:18 PM, Antti-Juhani
Kaijanaho<antti-juhani at kaijanaho.fi> wrote:
> On Mon, Aug 24, 2009 at 12:21:21PM +0200, Damien Raude-Morvan wrote:
>> BTW, I think there was a classpath conflict between :
>> /usr/share/ant/lib/junit4.jar (4.7)
>> and
>> /usr/share/ant/lib/junit.jar (3.8.7)
>> Both provides junit.* classes.
>>
>> Are you sure having both of them auto-loaded by Ant is the right thing to
>> do ?
>
> Probably not.  But how many have both installed at the same time?

In my opinion, there shouldn't be any symlinks in ant lib directory
for files that have nothing to do with ant. This unexpectedly modifies
the default classpath for ant. It takes lot of time to hunt down build
failures caused by such links.
Fox example, velocity package was installing links to 3 libraries in
ant lib directory. One of them was jdom0. And this caused problem for
building packages which needed jdom1.

Please do not add the link again.


Onkar





More information about the pkg-java-maintainers mailing list