Bug#506018: velocity: adds libraries to /usr/share/ant/lib
Marcus Better
marcus at better.se
Mon Nov 17 19:38:22 UTC 2008
Package: velocity
Version: 1.4-5
Severity: serious
velocity adds a bunch of symlinks to the Ant library directory. This
adds those libraries to the "core" class loader of Ant, thus
overriding any classpath specified in the build script.
For instance I just spent hours tracking down a build failure caused
by unwanted inclusion of jdom0.jar instead of the JDOM 1.1 version in
my project.
~$ dpkg -L velocity |grep ant/lib/
/usr/share/ant/lib/werken.xpath.jar
/usr/share/ant/lib/commons-collections.jar
/usr/share/ant/lib/jdom0.jar
/usr/share/ant/lib/logkit.jar
/usr/share/ant/lib/velocity.jar
It seems to me that the Ant lib directory should be reserved for Ant
itself. Other things should be added to the classpath by the
user/admin as neeeded. It is especially bad if a package adds symlinks
for jars belonging to other packages.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.27.5-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages velocity depends on:
ii ant 1.7.0-6 Java based build tool like make
ii default-jre [java2-runtime] 1.5-30 Standard Java or Java compatible R
ii ibm-j2sdk1.6 [java2-runtime] 1.6.0 Java(TM) JDK, Standard Edition, IB
ii jamvm [java1-runtime] 1.5.1-3 virtual machine which conforms to
ii java-gcj-compat [java2-runti 1.0.78-2 Java runtime environment using GIJ
ii libbcel-java 5.2-3 Analyze, create, and manipulate (b
ii libcommons-collections-java 2.1.1-8 A set of abstract data type interf
ii libjdom0-java 0.9b-3 lightweight and fast library using
ii liblogkit-java 1.2.2-9 Lightweight and fast designed logg
ii libwerken.xpath-java 0.9.4-9 JDOM XPath Engine
ii libxerces2-java 2.9.1-2 Validating XML parser for Java wit
ii openjdk-6-jre [java2-runtime 6b12-1~exp1 OpenJDK Java runtime, using Hotspo
ii sun-java5-jre [java2-runtime 1.5.0-16-3 Sun Java(TM) Runtime Environment (
ii sun-java6-jre [java2-runtime 6-07-4 Sun Java(TM) Runtime Environment (
velocity recommends no packages.
Versions of packages velocity suggests:
pn velocity-doc <none> (no description available)
-- no debconf information
More information about the pkg-java-maintainers
mailing list