Bug 252392 - Missing jars referenced in the Class-Path: clause of a MANIFEST.MF file should not be reported as errors
Summary: Missing jars referenced in the Class-Path: clause of a MANIFEST.MF file shoul...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 252321 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-28 11:22 EDT by Olivier Thomann CLA
Modified: 2008-10-29 05:36 EDT (History)
2 users (show)

See Also:


Attachments
Proposed fix and tests (4.04 KB, patch)
2008-10-28 13:08 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.