Elvy wrote:
Installing all found bundles, then starting them does work indead. ;)
One last question though :
Is this standard OSGi behaviour or just the way Felix works? I read the
Declarative Services Specification v1.0 and, if I'm not wrong, I found no
details about start order...
I want my application to be compliante with OSGi r4 specs, and thus, work
the same may it be on Felix, Equinox or others.
This is standard OSGi stuff and has nothing to do with Declarative
Services, it has to do with package resolving. A bundle cannot be
resolved unless the packages it needs from other bundles are already
available (i.e., installed in the framework). Thus, if you install
everything first, then you are guaranteed to have everything available.
After you install all the bundles, the order in which you start them
should not make a difference, however.
-> richard
Richard S. Hall wrote:
Perhaps you should go through and install them all first, then make
another pass to start each.
-> richard
Elvy wrote:
Hi,
I'd like to use declarative services to install/start all the bundle in a
given folder, and let them activate themselves properly.
I've got 3 bundle A <- B <- C (C depends on B which depends on A)
First one to start is A : OK
Second is C : unresolved package error because it needs
packages provided by B
I hove to tell you than if I rename C, so it is found before B, then
everything works, obviously :)
-----
Tell me something you don't know!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]