Question

I am building an OSGi application and need to create an Eclipse-like OSGi application launcher.

For those who do not know, when an OSGi application is run through Eclipse's OSGi framework, Equinox launches and automatically manages the order of bundles being started and stopped. From what I have experienced so far, it seems to be very efficient in what it does.

I want a similar piece of software to be able to create powerful distributable OSGi applications that can take a dynamic group of bundles, and without rewriting any code, start the application correctly and in the right bundle order.

I am curious to know how Eclipse achieves this result efficiently and how I can achieve the same result.

Thank you,

Steve

Was it helpful?

Solution

You have two options:
1) use pax runner
2) Use eclipse bundle witch serves as starter ( i believe it's org.eclipse.equinox.launcher)

Edit:
1*)For equinox options starter see this link paragraph Configurations and all that... BTW I've been wrong it's not launcher bundle it's common and update bundles.
2*)Fox pax runner example see this screen cast

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top