Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] OSGi packaging #88

Open
CrystalMethod opened this issue Mar 24, 2014 · 3 comments
Open

[core] OSGi packaging #88

CrystalMethod opened this issue Mar 24, 2014 · 3 comments

Comments

@CrystalMethod
Copy link
Contributor

Currently OSGi packaging is straight forward: each Maven bundle becomes an OSGi bundle by adding the Manifest at build time.

When using XO in the OSGi environment the user only works with the API bundle (+ store provider in some cases) The user doesnt know anything about impl and spi bundle. But both bundles are necessary at runtime: must be part of the runtime. Additionally the impl bundle must be "started" to get the Bundle Listener work properly. Well, one could extend documentation, but I propose to change the OSGi bundle build in a way to make it easier for developers:

a) build a separate bundle that depend on api + spi + impl and contains the BundleListener
b) attach spi + impl to api bundle

@CrystalMethod
Copy link
Contributor Author

An additional bundle doesn't make much sense here. This new bundle needs access to xo.impl classes that are currently not exported. A new Maven project (OSGi Bundle) with embedded xo.api, xo.spi, xo.impl artifacts seems to fit better.

DirkMahler added a commit that referenced this issue Jul 7, 2014
#88 replace snapshot by timestamp qualifier
@CrystalMethod
Copy link
Contributor Author

CrystalMethod commented Nov 17, 2016

There is a "hidden" feature in Eclipse: Bundles with "lazy" activation policy providing SCRs will be started by the framework on startup. I will prepare a PR to make use of this feature and close this issue afterwards.

@CrystalMethod
Copy link
Contributor Author

should be solved by #169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants