Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 12753 - Export JAR skips last line of the manifest
Summary: Export JAR skips last line of the manifest
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 288311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-04 01:52 EST by Sebastian Mattar CLA
Modified: 2009-09-02 02:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Mattar CLA 2002-04-04 01:52:40 EST
I noticed the JAR-Packager ignores the last line of a manifest-file.
Workaround: add a newline at the end.

Using build 20020321
Comment 1 Dani Megert CLA 2002-04-04 02:50:40 EST
This happens when using an existing manifest
Comment 2 Dani Megert CLA 2002-04-04 05:07:52 EST
Did you use a custom manifest file or did you use a manifest file generated from
JAR Packager?

Please not that if you use (or edit) a custom manifest file and you or your
editor do not end the (last) line with new line or CR then you violate the
Manifest spec and the result is JDK's (java.util.jar.Manifest) punishment for
not doing so ;-)

Please add additional info if this happened with a file generated (and then
used) by the JAR Packager or mark the bug report as INVALID.
Comment 3 Sebastian Mattar CLA 2002-04-04 05:10:23 EST
Well yes, I used a custom manifest file :)
Comment 4 Dani Megert CLA 2009-09-02 02:49:32 EDT
*** Bug 288311 has been marked as a duplicate of this bug. ***