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

#589: Fix NLS bundles for Linux and MacOS #781

Merged
merged 7 commits into from
Nov 21, 2024

Conversation

alfeilex
Copy link
Member

@alfeilex alfeilex commented Nov 20, 2024

Fixes: #589

I removed <arg>-H:IncludeResources="nls/.*"</arg> because it is an experimental feature and doesn't work on Linux and MacOS, see 851cdb3

A working solution for Windows and Linux is to include a resource-config.json like b5da1d4

Related docs:
https://www.graalvm.org/jdk21/reference-manual/native-image/metadata/#resource-metadata-in-json

This configuration also works for the latest GraalVM JDK Version (23) if we decide to upgrade our version in the workflow.

  • Tested on Ubuntu 20.04.01 LTS

  • It still need to be tested on MacOS

@alfeilex alfeilex self-assigned this Nov 20, 2024
@alfeilex alfeilex marked this pull request as ready for review November 20, 2024 17:25
@alfeilex alfeilex changed the title #589: Fix NLS bundles for native-image #589: Fix NLS bundles for Linux and MacOS Nov 20, 2024
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 11940700610

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 67.239%

Totals Coverage Status
Change from base Build 11939433873: 0.0%
Covered Lines: 6395
Relevant Lines: 9169

💛 - Coveralls

@jan-vcapgemini jan-vcapgemini self-assigned this Nov 21, 2024
@hohwille hohwille added this to the release:2024.12.001 milestone Nov 21, 2024
Copy link
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

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

@alfeilex thank you for finding this solution and verifying that it fixes the error on Linux. Also thanks for providing the links and explanations. I am very confident that this will also fix the problem on MacOS. 🥇
Therefore I propose to merge this now and test the next SNAPSHOT release on MacOS. I can do that on my MacBook.

@hohwille hohwille merged commit 8fd99a8 into devonfw:main Nov 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

IDEasy not working on linux or Mac - Can't find bundle for base name nls.Help
4 participants