Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338849 - bundle command should use selected exports for display
Summary: bundle command should use selected exports for display
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 15:25 EST by Thomas Watson CLA
Modified: 2011-03-03 15:34 EST (History)
1 user (show)

See Also:


Attachments
patch (1.45 KB, patch)
2011-03-03 15:34 EST, Thomas Watson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2011-03-03 15:25:22 EST
The current bundle command uses BundleDescription.getExportPackages() to get a list of packages exported from a bundle.  It should really use BundleDescription.getSelectedExports() to get a accurate list of packages exported by a resolved bundle.  This method takes into account dropped exports (in case of substitutes) and exports from fragments.
Comment 1 Thomas Watson CLA 2011-03-03 15:34:10 EST
Created attachment 190306 [details]
patch

Lazar, notice that I changed the implementation of the bundle command here.
Comment 2 Thomas Watson CLA 2011-03-03 15:34:51 EST
patch released.