|What are configurators and how to auto-discover bundles and start them? [message #875952]
||Wed, 23 May 2012 15:52
|| Libor Jelinek
Registered: January 2012
Location: Prague, Czech Rep.
I'm fighting with Equinox how to auto-discover bundles of product,
install and start them automatically.
My app needs to start one special bundles before everything else, so I
set this bundle to start on level 3, whereas all others are in start
level 4 (default start level).
As result, I have to manually manage a list of bundles in configuration
tab of product editor (this will contribute an osgi.bundles list in
configuration.ini on product export).
This is very annoying and error-prone so I would like to somehow
auto-discover bundles on which my product depends on and to start them.
Unfortunately it seems there is a only very few documentation on this
So far, I've only very vague feeling that it has something to do with
"configurators" and p2. Also, I have only IDE's user knowledge of p2 at
this moment. I also would like to believe that it will not be necessary
to learn full p2 because I don't need its functionality at all right now.
=== Update configrator ===
org.eclipse.equinox.update.configurator. It promises exactly what I'm
looking for but again I can't any information on it (manual, tutorials,
broader explanation, ...).
=== Simple configurator ===
Also, other posts (like
talk about org.eclipse.equinox.simpleconfigurator. But from this post I
understand that it only postpones the job from config.ini' osgi.bundles
to bundles.info file. So bundles still must be listed manually.
=== Equinox book ====
Throughout "OSGi and Equinox" is developed in-house "auto-starter"
I'm examining sources of it and it's quite simple, but why it necessary
to develop something new? And why this book say nothing about simple and
=== My overall questions ===
What is configurator conceptually?
What is difference between update and simple configurator?
Are there more then these two configurators?
Thank you so much for any clarification!
Powered by FUDForum
. Page generated in 0.15072 seconds