Bug#629189: lintian: help message to classpath-contains-relative-path could be more explicit
On 2011-06-04 12:54, Eric Lavarde wrote:
> Package: lintian
> Version: 2.5.0
> Severity: minor
>
>
> Hello,
>
> as agreed on the debian-java list:
>
> [...]
>> Please do, I have been meaning to fix that, but a bug is always a good
>> reminder. The real problem is usually class-paths like "lib/$file.jar"
>> or "usr/share/java/$file.jar" which does not work as intended when the
>> jar file is installed in /usr/share/java.
>> That being said, this check needs to be refined (e.g. jars in private
>> packages might have a lib/ dir with symlinks to the actual files, which
>> would work correctly).
>
> Thanks, Eric
>
> -- System Information:
> [...]
>
>
>
Hey,
I have committed a fix for this[1]; could you have a look at it and see
if you feel it is okay? The change also allows relative jars, if they
exist in the package (as file or a symlink) or if it points to a file in
/usr/share/java and has a strong dependency on a libX-java package.
~Niels
[1]
http://anonscm.debian.org/gitweb/?p=lintian/lintian.git;a=commitdiff;h=33190843844dc9a1025b654e4f4b8616d16eae9c
Reply to: