Bug#543327: junit4 has dropped ant jar

Damien Raude-Morvan damien at raude-morvan.com
Mon Aug 24 10:21:21 UTC 2009


On Mon, 24 Aug 2009 11:56:17 +0300, Antti-Juhani Kaijanaho <ajk at debian.org>
wrote:

Hi,

> $ dpkg -c junit4_4.6-2_all.deb | grep ant
> drwxr-xr-x root/root         0 2009-06-22 23:48 ./usr/share/ant/
> drwxr-xr-x root/root         0 2009-06-22 23:48 ./usr/share/ant/lib/
> -rw-r--r-- root/root      8578 2009-06-22 23:48
> ./usr/share/doc/junit4/api/constant-values.html
> lrwxrwxrwx root/root         0 2009-06-22 23:48
> ./usr/share/ant/lib/junit4.jar -> ../../java/junit4.jar
> $ dpkg -c junit4_4.7-1_all.deb | grep ant
> $
> 
> I see no note in the changelog.Debian that makes me think this is
> deliberate,
> so I'm assuming it's a bug.

Yes, it's a mistake.
I missed this symlink during migration to "Maven-Repo-Helper".

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 ?

Cheers,
-- 
Damien Raude-Morvan - http://damien.raude-morvan.com/





More information about the pkg-java-maintainers mailing list