Standard OSGi launch configuration Equinox 3.11 [message #1712695] |
Tue, 27 October 2015 13:54 |
|
Hello!
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:
- org.eclipse.osgi
- org.apache.felix.gogo.command
- org.apache.felix.gogo.runtime
- org.apache.felix.gogo.shell
- org.eclipse.equinox.console
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:
- org.eclipse.core.contenttype
- org.eclipse.core.jobs
- org.eclipse.core.equinox.app
- org.eclipse.core.equinox.common
- org.eclipse.core.equinox.preferences
- org.eclipse.core.equinox.registry
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?
Thanks!
Regards
Pablo
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04265 seconds