Dear OSGi users, I've sent a question to Richard Hall and he recommended to repost it to this mailing list. So here I am, I am awaiting your answers.
We plan to support development of "plain" OSGi bundles in NetBeans 6.9. We want to have a Maven artifact to create an OSGi project. We want to use the felix-maven-bundle to create the final JAR. We hope that you will provide us some guidance to do this correctly. The first questions we have are about run, debug, profile and test. What it means to run an OSGi bundle? I can imagine: java -jar felix.jar -Dfelix.auto.deploy.dir=path - Dfelix.auto.deploy.action=start correct? Shall we do this for run, debug and profile or is there any Maven plugin that we could reuse? Or any other idea? Richard's answer: > Ultimately, this could make sense for all (run, debug, profile, and > test), it just depends. I think it definitely makes sense for run if the > bundle has an activator. If not, then the user may wish to install/start > different bundles for run. We can do this. Another option Richard mentioned was: > Have you looked at the Pax tools (e.g., Pax Runner, Pax Exam, etc.)? These tools seem to come with Maven plugins, so it is easy to use them. Do people want to see this instead of home made exec of felix.jar? Thanks for helping us find the right direction. We are still in process of learning what are the OSGi needs. -jst
