-
Notifications
You must be signed in to change notification settings - Fork 60
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 toolchain support for non-java executables #154
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Anthony Vanelverdinghe <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the fix and it corrects the blocking issue #148
@abhinayagarwal @jperedadnr will you please review? (mentioning you since you reviewed the original PR as well) |
This should probably be added to other places where |
@alerosmile the sole goal of this PR is to fix the regression introduced in #118 If you believe toolchain support is incomplete or should be improved, please file a new issue and/or PR instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this change fixes the goal javafx:jlink when using Toolchains.
Tested with java 22, javafx 23.
Can you merge it please ?
@jperedadnr @abhinayagarwal @johanvos would you mind merging and releasing a new version to Maven Central please? This is a trivial fix that has been confirmed to work by 2 different people. |
#118 introduced toolchain support. However, due to the hard-coded
"java"
, this doesn't work for non-java executables such as jlink (i.e. #148)