Hi Toni, Did you get a chance to look at the attached project ? --- Best regards, Neeraj
On Thu, Sep 6, 2012 at 4:02 AM, neeraj bhusare <[email protected]>wrote: > I have some problems sharing the project via Github. Could you please take > a look at the attached project zip. Also, please ignore the typos in my > previous post. I meant, I had tried using #start(), #start(true)... > > > Thanks in advance. > --- > Best regards, Neeraj > > > > On Thu, Sep 6, 2012 at 1:46 AM, Toni Menzel <[email protected]>wrote: > >> Can you share example code ? Best via Github? >> >> -- >> Toni Menzel | Founder | Rebaze GmbH >> [email protected] | www.rebaze.com >> Access To Alien Technology: Great software needs a great foundation. We >> help unlocking the next level in technology. >> Rebaze Pass for Maven <http://goo.gl/1YLlt>, Rebaze Pass for >> OSGi<http://goo.gl/WP8XT> >> , Rebaze Pass for Neo4j <http://www.rebaze.com/services/>, Rebaze Pass >> for Jenkins <http://www.rebaze.com/services/> >> >> >> >> On Wed, Sep 5, 2012 at 9:59 PM, neeraj bhusare >> <[email protected]>wrote: >> >>> I am working on a small example project that has two bundles. The first >>> bundle publishes a service and the second contains the test that tries to >>> read/test the presence of the service in one of its @Test methods. I also >>> iterate through the list of installed bundles and print their state. All >>> the bundles, except the first bundle (that exposes the service) are in the >>> Active state. I have tried using #state(), #state(true) but the state of >>> the bundle remains the same (Installed). Unless the bundle goes into >>> Starting/Active state, the services won't get registered and I can't test >>> it. >>> I have tried installing the first bundle separately using the OSGi >>> console and it works fine. The services are registered properly. But the >>> same doesn't work when the bundle is provisioned in the test. Am I missing >>> something here? >>> >>> Thanks in advance. >>> --- >>> Best regards, Neeraj >>> >>> >>> _______________________________________________ >>> general mailing list >>> [email protected] >>> http://lists.ops4j.org/mailman/listinfo/general >>> >>> >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general >> >> >
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
