rombert commented on PR #47: URL: https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/47#issuecomment-2971370829
> I think that works, you could also do this without a listener directly here: https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/47/files#diff-41d2ea934138c94afeee33f42dbeffe01d5ed24d033429eccd21c6e924bdd294R368 Right, that was what I first tried. But then the bundle object had a null `BundleContext`. With debug logging I noticed that the bundle state was 2 ( INSTALLED ). This made no sense to be, because AFAIK the start operation is synchronous and the bundle should be started immediately. I gave up trying to get that approach working, but if you have an idea about what went wrong I'm happy to try something simpler. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
