Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Where is FrameworkAdmin service in 3.6?
Where is FrameworkAdmin service in 3.6? [message #536340] Thu, 27 May 2010 17:08 Go to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

I'm trying to move to from 3.5 to 3.6 (RC1, build ID: 20100520-1308)

I've already ask some things here.

And in fact a NPE occured because the FrameworkAdmin service is not found.

In 3.5, it was launched in Activator of org.eclipse.equinox.frameworkadmin.equinox but this activator no more exist and so it might be that this service is not launched with the same way.

My question is: where is this service launched now?

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: Where is FrameworkAdmin service in 3.6? [message #536344 is a reply to message #536340] Thu, 27 May 2010 17:15 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It's now a declarative service, Service-Component: OSGI-INF/fwadmin.xml

But that means your app must start the ds bundle.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Where is FrameworkAdmin service in 3.6? [message #536345 is a reply to message #536344] Thu, 27 May 2010 17:40 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Thanks for the quick answer

Paul Webster wrote on Thu, 27 May 2010 19:15
It's now a declarative service, Service-Component: OSGI-INF/fwadmin.xml

Ok, I hear about Declarative service but never used so I don't notice the fwadmin.xml

Paul Webster wrote on Thu, 27 May 2010 19:15

But that means your app must start the ds bundle.



I think that it is to org.eclipse.pde.core to add a required bundle to org.eclipse.equinox.ds as it is it that really need this service, isn't it?


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team

[Updated on: Thu, 27 May 2010 17:41]

Report message to a moderator

Re: Where is FrameworkAdmin service in 3.6? [message #536367 is a reply to message #536345] Thu, 27 May 2010 19:26 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Aurelien Pupier wrote:
> I think that it is to org.eclipse.pde.core to add a required bundle to
> org.eclipse.equinox.frameworkadmin.equinox as it is it that really need
> this service, isn't it?

You still have to include org.eclipse.equinox.frameworkadmin.equinox
and org.eclipse.equinox.frameworkadmin in your product. But in
addition, the equinox DS bundle has to be started early on in your
config.ini (it has a different startup level than before).

I'm not sure what the correct magic is to start ds, though. In my
launch config, org.eclipse.equinox.ds is Start Level 1,

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Error during installation of CDT Features
Next Topic:P2 transport initialization error
Goto Forum:
  


Current Time: Thu Apr 25 05:49:14 GMT 2024

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

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

Back to the top