Skip to main content



      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 13:08 Go to next message
Eclipse UserFriend
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,
Re: Where is FrameworkAdmin service in 3.6? [message #536344 is a reply to message #536340] Thu, 27 May 2010 13:15 Go to previous messageGo to next message
Eclipse UserFriend
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 13:40 Go to previous messageGo to next message
Eclipse UserFriend
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?

[Updated on: Thu, 27 May 2010 13:41] by Moderator

Re: Where is FrameworkAdmin service in 3.6? [message #536367 is a reply to message #536345] Thu, 27 May 2010 15:26 Go to previous message
Eclipse UserFriend
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: Sat Jul 19 17:28:03 EDT 2025

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

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

Back to the top