Great! Yes the maven-bundle-plugin should always be able to help you create a correct osgi bundle... it can be tricky in certain more advanced cir umstances.
Ryan On Apr 10, 2014 3:39 PM, "vickyk" <[email protected]> wrote: > rkmoquin wrote > > Oh, I assumed your response meant you got it working, at least you are > > closer :) > > > > Ryan > > Got it working finally, here is it > > karaf@root()> Hello World!!! > Starting Version 1 > > (*file:/home/vickykak/development/karaf/apache-karaf-3.0.0/deploy/sample01-1.0.0.jar* > <no signer certificates>) > Hello World!!! > Starting Version 2 > > (*file:/home/vickykak/development/karaf/apache-karaf-3.0.0/deploy/sample02-1.0.0.jar* > <no signer certificates>) > > Conclusion is to use maven plugin from here > > http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%2528BND%2529-howto > > It is working by hot deployment approach by dropping the jars in deploy > directory. > I also tried installing from the osgi shell and that too worked. > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Unable-to-do-load-BundleActivator-after-package-is-exported-in-manifest-for-a-bundle-tp4032661p4032692.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
