Bug 252392

Summary: Missing jars referenced in the Class-Path: clause of a MANIFEST.MF file should not be reported as errors
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, david_audel
Version: 3.5   
Target Milestone: 3.5 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix and tests none

Description Olivier Thomann CLA 2008-10-28 11:22:31 EDT
When jar that contains a Class-Path: clause in its MANIFEST.MF file is directly on the raw classpath and it has some missing referenced jar, a build path error is reported.
If the same jar is within a classpath container, only a warning is reported.
This is quite confusing for the user.
Comment 1 Dani Megert CLA 2008-10-28 11:37:38 EDT
>This is quite confusing for the user.
Not just that: it prevents the project and all other from being built because it's a build path error.
Comment 2 Jerome Lanneluc CLA 2008-10-28 13:08:21 EDT
Created attachment 116322 [details]
Proposed fix and tests
Comment 3 Jerome Lanneluc CLA 2008-10-28 14:03:30 EDT
*** Bug 252321 has been marked as a duplicate of this bug. ***
Comment 4 Jerome Lanneluc CLA 2008-10-28 16:18:17 EDT
Fix and tests released for 3.5M3
Comment 5 David Audel CLA 2008-10-29 05:36:46 EDT
Verified for 3.5M3 using I20081028-2000 build.