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

Support dynamic enable/disable of classpath entries #613

Closed
laeubi opened this issue Dec 25, 2022 · 1 comment
Closed

Support dynamic enable/disable of classpath entries #613

laeubi opened this issue Dec 25, 2022 · 1 comment

Comments

@laeubi
Copy link
Contributor

laeubi commented Dec 25, 2022

Currently it is not possible to have JDT dynamically enable a classpath entry based on some system state, this might include:

My proposal therefore would be to have a way marking a classpath entry as disabled, and then related code can handle it as if it is not defined at all (e.g. ignore it during compilation / indexing / ...).

This concept also is generic enough to apply it to any classpath entry type, even though most likely only a few would make use of it (as a first start, only CPE_SOURCE)

@laeubi
Copy link
Contributor Author

laeubi commented Jan 16, 2023

After thinking more about it I'm probably on the wrong track here regarding my initial idea of enable/disable to support:

and the parts for

are better solved as you described here:

so I'll close this for now and open another proposal in favor of this for the multi-platform compile.

Originally posted by @laeubi in #614 (comment)

@laeubi laeubi closed this as completed Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant