François Fornaciari wrote:
Hello,
As the auto-property processing has been moved to the launcher, what
is the new way to specify to a custom Felix launcher to start a list
of bundles at startup? I mean, I can no more use the
"felix.auto.start" property to set the bundle locations. Moreover, it
seems that this part of the documentation is out to date.
Yes, the documentation needs to be updated...I will try to get to that.
The way you should do this now is pretty much the same way that Felix'
default Main.java does it. It adds a custom framework activator to
automatically install/start bundles. You should be able to use it as a
template for your own launcher...you can see that there is one method
called from the custom activator (Main.processAutoProperties()) that
does all of the processing that was previously done internally, so you
pretty much just need to copy that method.
Sorry that this change makes it a little more complicated, but it didn't
really make sense to be baked in. I will try to think about a way to
simplify this situation...perhaps by separating out the functionality in
some way so that it can be directly re-used.
-> richard
Thank you for your your help.
François
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]