Skip to content

#830 Add module-info to the modules#843

Merged
jonahgraham merged 1 commit into
eclipse-lsp4j:mainfrom
Thihup:feature/module-info
Aug 20, 2024
Merged

#830 Add module-info to the modules#843
jonahgraham merged 1 commit into
eclipse-lsp4j:mainfrom
Thihup:feature/module-info

Conversation

@Thihup

@Thihup Thihup commented Jun 10, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@jonahgraham jonahgraham linked an issue Jun 10, 2024 that may be closed by this pull request

@jonahgraham jonahgraham left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This LGTM, but I would like if a second set of eyes could look as I don't use/write module-info.java as part of my normal work so I don't know what may be needed here.

If there are no objections in a reasonable amount of time I will happily merge as is.

Thank you @Thihup for this contribution.

@andirady

Copy link
Copy Markdown

Tested using the --list-modules flag of the java command, and it lists the modules correctly and does not complain about any split packages.

$ java --module-path $(find -name "*-SNAPSHOT.jar" -exec echo -n '{}:' \;) --list-modules
...
org.eclipse.lsp4j file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j/build/libs/org.eclipse.lsp4j-0.24.0-SNAPSHOT.jar
org.eclipse.lsp4j.debug file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j.debug/build/libs/org.eclipse.lsp4j.debug-0.24.0-SNAPSHOT.jar
org.eclipse.lsp4j.generator file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j.generator/build/libs/org.eclipse.lsp4j.generator-0.24.0-SNAPSHOT.jar
org.eclipse.lsp4j.jsonrpc file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j.jsonrpc/build/libs/org.eclipse.lsp4j.jsonrpc-0.24.0-SNAPSHOT.jar
org.eclipse.lsp4j.jsonrpc.debug file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j.jsonrpc.debug/build/libs/org.eclipse.lsp4j.jsonrpc.debug-0.24.0-SNAPSHOT.jar
org.eclipse.lsp4j.websocket file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j.websocket/build/libs/org.eclipse.lsp4j.websocket-0.24.0-SNAPSHOT.jar
org.eclipse.lsp4j.websocket.jakarta file:///home/andirady/code/github/lsp4j/./org.eclipse.lsp4j.websocket.jakarta/build/libs/org.eclipse.lsp4j.websocket.jakarta-0.24.0-SNAPSHOT.jar

@jonahgraham

Copy link
Copy Markdown
Contributor

Thanks @andirady for the second set of eyes on this.

@jonahgraham jonahgraham added this to the 0.24.0 milestone Aug 20, 2024
@jonahgraham jonahgraham merged commit 7ce4f59 into eclipse-lsp4j:main Aug 20, 2024
@cdietrich

Copy link
Copy Markdown
Contributor

seems to cause #855

@travkin79

Copy link
Copy Markdown
Contributor

Thank you @cdietrich for looking into this. I checked out the previous commit (f235e91) and there seems to be no problem with building that version. Thus, the issue has likely something to do with this change.

Nevertheless, there seem to be multiple potential causes for the issue I described in #855 (maybe one of: bug in JDT, bug in PDE, bug in buildship, bug in some gradle plug-in, bug in gson library,... in some way related to Java's module system).

@sebthom sebthom mentioned this pull request Jan 27, 2025
35 tasks
jonahgraham added a commit to jonahgraham/lsp4j that referenced this pull request Jan 31, 2025
This reverts commit 7ce4f59 which
was part of PR eclipse-lsp4j#843

This reversion is being done because the added module info
breaks development setup and as of now no one has wanted to
pickup the work of having module-info.

By reverting this commit we can release 0.24.0 with the same
metadata as 0.23.0 was released.

Part of eclipse-lsp4j#830
jonahgraham added a commit that referenced this pull request Jan 31, 2025
This reverts commit 7ce4f59 which
was part of PR #843

This reversion is being done because the added module info
breaks development setup and as of now no one has wanted to
pickup the work of having module-info.

By reverting this commit we can release 0.24.0 with the same
metadata as 0.23.0 was released.

Part of #830
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.

Add module-info to the modules

5 participants