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

fix(java): use stable file locations for JARs provided by mason.nvim #245

Merged
merged 1 commit into from
May 31, 2023

Conversation

williamboman
Copy link
Contributor

Since the introduction of the new registry, packages started linking
more than executables (bin/) in Mason's root directory. Examples of
these are platform-agnostic "share" files, for example the JARs used
here.

Reaching into the internal package structures of Mason packages is not
stable and is prone to break across versions.

Since the introduction of the new registry, packages started linking
more than executables (`bin/`) in Mason's root directory. Examples of
these are platform-agnostic "share" files, for example the JARs used
here.

Reaching into the internal package structures of Mason packages is not
stable and is prone to break across versions.
@williamboman
Copy link
Contributor Author

williamboman commented May 31, 2023

Note that java-debug-adapter & java-test started linking these files only 3 weeks ago. Users who installed java-debug-adapter or java-test prior to that will not have files at these locations. I'm not sure what the policy is in terms of supported versions, but figured I'd open a PR for awareness anyway

Copy link
Member

@mehalter mehalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much! This is great!

@mehalter mehalter merged commit 8b0428b into AstroNvim:main May 31, 2023
4 checks passed
@williamboman williamboman deleted the fix/jdtls-stable-file-paths branch May 31, 2023 20:24
Uzaaft pushed a commit that referenced this pull request Jun 11, 2023
…245)

Since the introduction of the new registry, packages started linking
more than executables (`bin/`) in Mason's root directory. Examples of
these are platform-agnostic "share" files, for example the JARs used
here.

Reaching into the internal package structures of Mason packages is not
stable and is prone to break across versions.
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

Successfully merging this pull request may close these issues.

None yet

2 participants