Hi David,

Bundles in a feature (note that features are not OSGi standard, they are
specific to Eclipse/Equinox) are no different than bundles that aren't in a
feature once they're instantiated in the OSGi runtime.  So probably
whatever you're doing today without features will still work with
features.  If you're using p2/simpleconfigurator, you can create p2.inf
metadata to control things like start level and start state, but, again,
that is Eclipse/Equinox specific.  This is exactly what we do, when our
features are published to our target runtime, the p2.inf metadata is
"baked" into the IU metadata so that when our bundles are installed (using
p2 director), the start level/state is copied into the simpleconfigurator
metadata.

Hope this helps!

Cheers,
Craig
________________________________________
From: [email protected] [[email protected]] On
Behalf Of David Erickson [[email protected]]
Sent: Saturday, June 23, 2012 3:44 AM
To: [email protected]
Subject: [osgi-dev] Start level of bundles in a feature?

Hi all-
I was going through an exercise of converting my bundle-based product
to be feature based, but I run into the need to have a very specific
start order for a few bundles, and at least using Eclipse see no way
of setting start level for bundles within a feature.  Is this possible
and I just missed it somehow?

Thanks!
David
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev<https://webmail.bmc.com/owa/redir.aspx?C=f9fc5957733f4461861161b8a9c57e57&URL=https%3a%2f%2fmail.osgi.org%2fmailman%2flistinfo%2fosgi-dev>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to