Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » (no subject)
(no subject) [message #714105] Tue, 09 August 2011 19:39
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 241
Registered: July 2009
Senior Member
Hi,

I'm trying to better understand how the p2 director application works
and can't figure out why, in DirectorApplication.initializeServices(), a
new default installer agent is created and registered by the target agent:

targetAgent = provider.createAgent(p2DataArea);
// why create a new installer agent here?
targetAgent.registerService(IProvisioningAgent.INSTALLER_AGENT,
provider.createAgent(null));

There already is a platform-default installer agent (with the same
service ranking) as the new one. It is created and registered in
org.eclipse.equinox.internal.p2.core.Activator.registerAgent(). Why not
just get that one and register it with targetAgent?

Any insight would be greatly appreciated. Thanks!

--Peter
Previous Topic:SDK based "platform" build?
Next Topic:How to register a new CharsetProvider inside an Equinox based software
Goto Forum:
  


Current Time: Thu Apr 25 06:51:13 GMT 2024

Powered by FUDForum. Page generated in 0.02635 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top