|Standard OSGi launch configuration Equinox 3.11 [message #1712695]
||Tue, 27 October 2015 13:54
|| Pablo Gomez
Registered: October 2013
I have a small -I hope- issue. The target is just to run from eclipse IDE an OSGi standard application. That means, no P2, no emf, no swt just an standard OSGi.
Well, I'm able to do so up to Eclipse Luna SR2. However, I do not know what I'm doing wrong with Mars SR1 (Equinox 3.11)
In Luna to run a standard osgi app I only need to set up the launch config as follows:
And that's it, nothing more. However, doing so in Mars I get the following exception:
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini). Which I do not understand because in Luna this is not necessary to have the core.runtime bundle installed. As a consequence of installing that bundle, I need additionally to install a few others like:
Which I also do not understand very well why are required, I only want to deploy a standard osgi application in an equinox container. Sadly, If I resolve all the dependencies I end up with an application id not found exception and the equinox container simply shuts down... This application id requirement is confusing me because that id should be required when running an eclipse application but not when the application is a standard osgi one.
So do you guys think there is a bug here? and if not, what I'm doing wrong? How am I suppose to run a standard osgi on equinox? Or is it not possible anymore?
Powered by FUDForum
. Page generated in 0.02570 seconds