Community
Participate
Working Groups
in the current code org.eclipse.equinox.p2.ui.ProvisioningUI.getLicenseManager() looks up the license manager OSGi service. This means that while there can be multiple agents and provisioning UIs for each agent, the UI assumes all agents use the same license manager. We should be able to use a code pattern similar to that used for the RepositoryTracker to eliminate this linkage. Note that all obvious uses of the LicenseManager call the getLicenseManager method on ProvisioningUI so fixing that should be sufficient.
I'm not sure what you mean w.r.t. the RepositoryTracker. In that class, the repository tracker doesn't go through the agent and just does a regular service lookup. I tried changing (both) code to getSession().getProvisiningAgent().getService(xx) but the tests failed with a bunch of NPEs from the repository tracker being null. I guess it isn't just a straight substitution?
you are completly right. The RepositoryTracker changes have not yet been committed. Doh! Susan and I have been working on a patch in Bug 332314 that makes RepositoryTracker (amongst other things) agent-specific. In the case of the license manager it should be relatively easy to just create an agent service factory and use DS in the common way we do or other agent services.
moving out.
Move all 3.8 bugs to Juno.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This bug was marked as stalebug a while ago. Marking as wontfix. If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.