Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Platform.getBundle returns null when self-hosting.
Platform.getBundle returns null when self-hosting. [message #1113177] Fri, 20 September 2013 19:11 Go to next message
Eduardo Pereira is currently offline Eduardo PereiraFriend
Messages: 4
Registered: July 2013
Junior Member
I have a headless RCP application and we use P2 to install new bundles in the application. The application works fine when we run the executable but it fails during development when self-hosting. The problem is that the API Platform.getBundle returns null for the newly installed bundle.

I tried it using the osgi/p2 console (provaddrepo, then provinstall and confapply)
and ss does not show the newly installed bundle either.

I opened the bundles.info file and it does not have the bundle either but the bundle is in .p2\org.eclipse.equinox.p2.touchpoint.eclipse\plugins.

Do I need to invoke something beyond confapply?
Re: Platform.getBundle returns null when self-hosting. [message #1116515 is a reply to message #1113177] Wed, 25 September 2013 14:47 Go to previous message
Eduardo Pereira is currently offline Eduardo PereiraFriend
Messages: 4
Registered: July 2013
Junior Member
I tried to debug this. InstallBundleAction is not called when self-hosting but P2 does not throw any exception.
Any pointers on how to debug this?
Previous Topic:Refresh osgi bundle via config.ini
Next Topic:How to build content of rt.equinox.bundles.git with maven?
Goto Forum:
  


Current Time: Thu Apr 25 22:38:26 GMT 2024

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

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

Back to the top