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

OSGi DS Annotations #61

Open
realPyR3X opened this issue Jan 6, 2017 · 1 comment
Open

OSGi DS Annotations #61

realPyR3X opened this issue Jan 6, 2017 · 1 comment

Comments

@realPyR3X
Copy link

Firstly, I'm loving this plug-in, thank you! I'm having some trouble figuring out how to properly use DS Annotations. Felix SCR annotations are now deprecated in favor of the actual OSGi ones. It would be great if we could annotate our classes and it automatically be picked up by osgi-run ds plug-in, as opposed to declaring them in the build.gradle or elsewhere. Are you aware of which dependencies are needed (without the osgi-run ds plug-in) to properly do DS annotations?

-Charlie

@renatoathaydes
Copy link
Owner

Hi @realPyR3X. I agree it would be nice if the osgi-ds plugin could do that!

But for now, you can use the org.dm.bundle plugin to do that.

Check the osgi-run Tutorial which has an example that shows how to do that.

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