Noob strikes again.. =S I have an OSGi bundle that I exported to a .Jar file. The bundle has an activator, an interface, and a class that implements it.
The second bundle I have uses first bundle's service( imported package, service listener, ...) I'm trying to obtain the same result, but now the second bundle must access to the.Jar instead to the plug-in project. What I made by now was *"plug-in project from .Jar archive".* Now those classes I had in the first bundle (activator, interface, impl.) are compiled and I can't see the code. I followed the steps of exporting the package, etc. to make second bundle use these new bundle as it used the first one initially. But when I execute OSGi framework it seems that the *new *plug-in project doesn't start. It appears as "Active" but it just doesn't start (I had a System.out to see when it gets in the start() method, and doesn't appear nothing in console now). It seems to be an Activator problem, since in the Manifest.MF of the project there is no Activator defined, and I can't put the "compiled" Activator.class as a valid Activator class. Any help would be grateful, and please, sorry for my english. Thanks, Asier.
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
