Package: javahelper
Version: 0.7
Severity: normal

jh_manifest may produce a MANIFEST.MF that does not conform to the jar
specification. See http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html.

The following problems may occur:

Blank lines are significant. They separate sections within the manifest.
Certain attributes must be included in the main section (e.g. Class-Path,
Main-Class), others are individual attributes and must be included in an
independent section (e.g. Debian-Java-Home), otherwise they will be
ignored or wrongly parsed (see my entry to the debian-java mailing list).
jh_manifest does not separate main section and individual section
attributes.

Lines may not be longer than 72 bytes. If they are longer they must be
wrapped. The continuation line must start with a space. jh_manifest does
not wrap long lines. This is especially important when converting
$CLASSPATH to Class-Path: ... as the user doesn't have the possibility
to influence this process from outside. Lines that are correctly wrapped
in xyz.manifest will not be correctly copied to the target MANIFEST.MF.

Nice to have: It would be nice if line endings were consistently handled.
This is not required by the spec but it makes viewing/editing the
MANIFEST.MF easier. I propose automatically converting all CR or CRLF
to (unix-style) LF.


-- System Information:
n/a 

javahelper recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to