-
Notifications
You must be signed in to change notification settings - Fork 24
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
#888: fixed graalvm gu #890
base: main
Are you sure you want to change the base?
#888: fixed graalvm gu #890
Conversation
added check for graalvm community edition 21 to prevent usage of missing gu command
Pull Request Test Coverage Report for Build 12302038821Details
💛 - Coveralls |
I installed the
Is that error still in the scope of this issue? I can confirm that |
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.
@jan-vcapgemini thanks for your PR and work to fix #888.
IMHO this current implementation is making it worse not better.
Please check my review comment.
private void doGuPluginCommand(ToolPluginDescriptor plugin, String command) { | ||
this.context.newProcess().errorHandling(ProcessErrorHandling.THROW_CLI).executable(getToolPath().resolve("bin").resolve("gu")).addArgs(command, plugin.name()).run(ProcessMode.DEFAULT); | ||
if (this.getConfiguredEdition().equals("community") && this.getConfiguredVersion().isLess(VersionIdentifier.of("21"))) { |
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.
This is incorrect: The default edition is graalvm
and community
edition is completely obsolete nonsense we just kept for devonfw-ide
compatibility. Because of a bug in that community
edition in very old version, you now disable the plugin installation for any edition other than community
what is IMHO a bug rendering the plugin feature void.
If we want to address this bug properly why dont we check if gu
is actually available instead of coding assumptions of editions and versions we just guessed.
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.
Replaced with your suggestion now.
replaced check for for graalvm version with check for existing gu command
…-vcapgemini/IDEasy into fix/888-graalvm-gu-installer
Fixes: #888
Implements: