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

Declare a capability namespace that indicates a bundle contains annotations #696

Open
laeubi opened this issue Mar 19, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@laeubi
Copy link
Contributor

laeubi commented Mar 19, 2024

PDE / Tycho have a quite convenient feature that makes OSGi annotations automatically available to the user, that way no special configuration is required to use them.

This is currently archived by maintaining a fixed set of known items what of course not works for custom ones or needs to be extend once there are new items specified.

Instead of this, it would be good to have a "annotation capability" a bundle can define that includes attributes / directives of:

  • the package names that contain annotations
  • the retention of these annotations (e.g. class or runtime)

based on this an IDE/Tool can scan the target/repositories/... for items it wants to make available automatically to the user.

To make this work across tools / IDEs there should be a standard namespace defined to allow wider adoption (and maybe even predefined annotations).

@stbischof
Copy link
Contributor

Sorry @laeubi, I did not get it. Could you help me with a user story.

based on this an IDE/Tool can scan the target/repositories/... for items it wants to make available automatically to the user.

@stbischof stbischof added the enhancement New feature or request label Mar 20, 2024
@stbischof
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants