Hi,

i am on the way to add the "osgi.enroute.example.vaadin" stuff as a contribution to the "osgi.enroute.bundle" repo.

I am using sub-bundles. And everything worked fine so far. Then i added the "example application" to the project.

And now i am getting an error in bnd.bnd that does not make sense for me: /"osgi.enroute.vaadin.example.addressbook.application: DS Component osgi.enroute.vaadin.example.addressbook.application.AddressbookApplication specifies ocd class osgi.enroute.vaadin.api.Configuration which cannot be found; known classes []//"/

But "example.addressbook.application" has an "import package" for "osgi.enroute.vaadin.api" where "...Configuration" is located in. But it seems, that this circumstance is somehow ignored.

I played around and found out, that adding "ExportPackage osgi.enroute.vaadin.api" from "example.addressbook.application.bnd" fixes the problem by including the API classes into the application bundle. But that is not what i am looking for.

The API is included and exported by the "provider" bundle. And only this bundle should export the API.

I have no idea, how i can prevent this error?!

Here is a link to the github fork of enroute.bundles:

https://github.com/florianpirchner/osgi.enroute.bundles/tree/master/osgi.enroute.vaadin


Thanks, Florian



_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to