Bug 265105 - Manifest Class-Path is not read correctly with ECJ
Summary: Manifest Class-Path is not read correctly with ECJ
Status: RESOLVED DUPLICATE of bug 265103
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 04:10 EST by Fabrice Matrat CLA
Modified: 2009-02-17 04:50 EST (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 Fabrice Matrat CLA 2009-02-17 04:10:01 EST
The maximum length of a line in the Manifest is 72 characters. If a jar need to be split over two lines the next line should have a white space. If a jar finish at the end of a line the next line should start with two whitespaces.
If the next line start with a character it means, it's the next item and CLASS-Path is finished.

A full explanation of the way to read the Class-Path can be found for example at 
http://forums.sun.com/thread.jspa?threadID=364938

I attached a Unit test with some values and the fix I did in ClassPathJar.jar.
I already integrated the bug 251079 for the \r.

I don't know what we should do with an empty declaration of Class-Path.

See my changes attached and a unit test with it.
Comment 1 Philipe Mulet CLA 2009-02-17 04:35:10 EST
Olivier - pls also provide a 3.4.x patch
Comment 2 Fabrice Matrat CLA 2009-02-17 04:42:28 EST
Apparently the bug has been created multiple times.
Please refer to 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=265103

which contains the changes.

Fabrice.
Comment 3 Fabrice Matrat CLA 2009-02-17 04:50:09 EST

*** This bug has been marked as a duplicate of bug 265103 ***