|Re: [ecf-dev] How to consume HelloWorld remote OSGI Samples in eclipse platform|
On 4/21/2011 9:36 PM, Harshana Eranga Martin wrote:
I agree about adding this to the 'Running the Example Hello Service Host' section of the appropriate wiki page .Â Would you (Harshana) be able to add this info for one combination of discovery and distribution providers?Â
Note that the product configurations that are referenced in that section already have the necessary bundle autostartÂ and startlevel information in them (in the configuration section of the product config)...and this could be copied from a given product config and put into the example docs.Â
But separate from the issue of more documentation on running/starting the examples......I don't understand why it's necessary...under any conditions...to explicitly start the org.eclipse.ecf.examples.remoteservices.hello bundle.Â It seems to me that it should be started upon attempt to load any of its interface classes (e.g. IHello)...and in fact this is what happens when I run/start the hello examples on Equinox.ÂÂ I would like to try to figure out why it's necessary to start this bundle explicitly under some conditions...and if possible fix any underlying issues (in ECF or Equinox or Felix or ...)
So...Pradeep or Harshana and/or others...would you please describe the conditions (in terms of the framework, the way the framework is started, what bundle state things are in, etc), that lead to being able to reproduce the bundle state exception that Pradeep reported?Â It would be much appreciated...and hopefully by doing this we can completely avoid this issue in the future.
(I would suggest putting in a new page with a link on the above page...to give detailed information about bundle autostart/start levels, use of Felix, etc).