Bug 53340 - Some plug-ins in registry view do not show libraries
Summary: Some plug-ins in registry view do not show libraries
Status: RESOLVED INVALID
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-02-27 21:02 EST by Wassim Melhem CLA
Modified: 2009-08-30 02:06 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 Wassim Melhem CLA 2004-02-27 21:02:48 EST
Using the latest pde.runtime from HEAD:

org.eclipse.core.runtime, core.runtime.compatibility, org.eclipse.swt and the 
org.eclipse.osgi.* plugins do declare libraries, but these libraries are not 
shown in the registry view.

One thing common among these plug-ins is that they are the only ones that have 
a manifest.mf (i.e. they are true bundles), so the registry processing 
algorithm might need a little tweaking to pick up these somewhat structurally 
different plug-ins.
Comment 1 Dejan Glozic CLA 2004-02-27 21:12:08 EST
I am not sure about the compatibility with the registry, but I think that only 
extensions and extension points are still showing for bundles. The rest needs 
to be fetched from the bundle itself.
Comment 2 Wassim Melhem CLA 2004-02-27 21:17:59 EST
way to remove the mystery out of the defect, Dejan ;-)  That was for Cherie to 
figure out.
Comment 3 Cherie Wong CLA 2004-02-28 03:01:55 EST
+1 for Dejan :)
Comment 4 Dejan Glozic CLA 2004-02-28 08:06:49 EST
Ah :-(. I didn't realize it was a trick question :-(.
Comment 5 Cherie Wong CLA 2004-03-02 17:57:23 EST
Will be using Bundle.getHeader() to get runtime libraries.  The problem is 
that it will not always return the complete list of runtime libraries.  Thus, 
we can only see the declared libraries for core.runtime, 
core.runtime.compatibility, osgi.services, and osgi.util right now.

This is a temporary solution (see below) until the ILibrary implementation is 
complete.

Going to resolve to REMIND in the meantime.


Reference from the porting guide:
ILibrary implementation incomplete

Who is affected: User of org.eclipse.core.runtime.ILibrary.

Description: The new runtime maintains the classpath entries in a different 
and incompatible form from Eclipse. As a result, the compatibility layer is 
unable to correctly model the underlying OSGi structures as ILibrary objects.

Action required: Users of ILibrary should consider accessing the desired 
header values (e.g., Bundle-Classpath) from the appropriate Bundle (see 
Bundle.getHeaders()) and using the ManifestElement helper class to interpret 
the entries.
Comment 6 Denis Roy CLA 2009-08-30 02:06:05 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.