Bug 252591 - [render] External chained jars are not correctly displayed
Summary: [render] External chained jars are not correctly displayed
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 10:33 EDT by Jerome Lanneluc CLA
Modified: 2008-10-30 12:04 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot of Package Explorer (11.50 KB, image/jpeg)
2008-10-29 10:33 EDT, Jerome Lanneluc CLA
no flags Details
Libraries to reproduce the problem (543 bytes, image/zip)
2008-10-29 10:36 EDT, Jerome Lanneluc CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2008-10-29 10:33:03 EDT
Created attachment 116419 [details]
Screenshot of Package Explorer

I20081029-0100

If an external jar "lib1.jar" references another external jar "lib2.jar" though the Class-Path: of its manifest, then the package explorer shows "lib1.jar" twice. This works fine if "lib1.jar" and "lib2.jar" are internal to the project.
Comment 1 Jerome Lanneluc CLA 2008-10-29 10:36:31 EDT
Created attachment 116420 [details]
Libraries to reproduce the problem

To reproduce:
1. Expand the attached zip in D:\temp
2. Create a new Java project
3. Add D:\temp\lib1.jar to its buildpath
Observe: lib1.jar appears twice. 

Instead, it should show lib2.jar and lib1.jar

I verified that the resolved classpath returned by JDT/Core is correct.
Comment 2 Dani Megert CLA 2008-10-30 12:04:34 EDT
Fixed in HEAD.
Available in next N-build for 3.5 M4.