|
Re: Easier way to start bundles [message #95046 is a reply to message #95033] |
Wed, 15 August 2007 22:40 |
Eclipse User |
|
|
|
Originally posted by: alex_blewitt.yahoo.com
No, by default bundles are installed and resolved, but not started, unless they are mentioned in an osgi.bundles with a start level.
If you have Eclipse-LazyStart: true (or the 3.3 variant Bundle-ActivationPolicy: lazy) then they will be automatically started if someone accesses a class/resource from that bundle (but not bundle entry). However, if nothing accesses those classes, they won't be started.
If you're running with -application, and you have org.eclipse.equinox.app/org.eclipse.equinox.registry, then it should try and acquire the application which will start them. However, without those bundles, the -application will be ignored.
Alex.
|
|
|
Powered by
FUDForum. Page generated in 0.03539 seconds