Bug 295380 - [metadata] LicenseManager should move to core
Summary: [metadata] LicenseManager should move to core
Status: VERIFIED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2009-11-17 13:35 EST by Susan McCourt CLA
Modified: 2010-01-26 13:15 EST (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 Susan McCourt CLA 2009-11-17 13:35:18 EST
Per previous discussions with Pascal:
- we should move LicenseManager to core, or at least out of the UI
- the API for LicenseManager traffics in IU's.  This was done back when licenses were just text attached to an IU.  Now that a license is a real object (ILicense), and an IU can have multiple licenses, we should instead have the manager consider ILicense rather than IInstallableUnit
- currently the license manager is set up via the UI policy, I think it makes more sense for this to be a service that is implemented in the UI (similar to IServiceUI)
- what bundle would it live in?
Comment 1 Susan McCourt CLA 2009-11-18 19:20:55 EST
fixed in the maintenance branch as described.
per discussion with Pascal, we created a new utility bundle

org.eclipse.equinox.p2.common

this holds stuff that is above core, below UI, and not related to operations.
Comment 2 Susan McCourt CLA 2009-12-01 12:57:13 EST
changing milestone to M5.  The p2 api branch will be merged back into HEAD early in M5
Comment 3 Susan McCourt CLA 2010-01-26 13:15:40 EST
note that we "undid" this change as part of bug 298993.
Marking verified