Replies: 2 comments 2 replies
-
Sounds good. +1 from me. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The declarative services plugin has an option to either automatically include the ds-annotations jar on the classpath or not, and this must be enabled explicitly at the moment.
With the osgi-bundle/version-annotations added recently we simply add those automatically that has a lot of benefits:
Because of this, I'd like to suggest we drop this configuration option from the declarative services plugin and instead migrate handling of ds-annotations as with the bundle/version annotations, this will also prevent users from import-package those (either by accident or because PDE suggest this because of missing imports) and will make adoption of annotation based DS components more convenient, user-friendly and visible to the developer.
There is just one thing we "loose" here, that is that PDE currently allows placing an older version of the annotations on the classpath, but I think we will not miss anything here:
Beta Was this translation helpful? Give feedback.
All reactions