Bug#719094: generates broken Class-Path in MANIFEST.MF

Daniel Pocock daniel at pocock.com.au
Thu Aug 8 13:00:37 UTC 2013


Package: javahelper
Version: 0.43
Severity: important

I've tried listing my classpath JARs in both debian/manifest and in
debian/rules (export CLASSPATH)

Either way, the generated MANIFEST.MF is broken, because of the line
wrapping issue, e.g. I have


Class-Path: /usr/share/java/jar1.jar /usr/share/java/jar2.jar /usr/shar
 e/java/jar3.jar


Notice how it is automatically wrapped at approximately 70 characters? 
jh_manifest needs to generate an indented line for each JAR, e.g.

Class-Path: /usr/share/java/jar1.jar
 /usr/share/java/jar2.jar
 /usr/share/java/jar3.jar

As a work-around, I was able to insert spaces in the debian/manifest
file to make it wrap where I want it to, making it one very long line
with lots of spaces between each classpath entry



More information about the pkg-java-maintainers mailing list