From 41aaebad48162502813604cdefa8aeafc8a8051e Mon Sep 17 00:00:00 2001 From: alfeilex <101652401+alfeilex@users.noreply.github.com> Date: Tue, 14 Jan 2025 18:17:53 +0100 Subject: [PATCH] override installPlugings() and run intellij after installation --- .../java/com/devonfw/tools/ide/tool/intellij/Intellij.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cli/src/main/java/com/devonfw/tools/ide/tool/intellij/Intellij.java b/cli/src/main/java/com/devonfw/tools/ide/tool/intellij/Intellij.java index d202819be..62e9276cd 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/tool/intellij/Intellij.java +++ b/cli/src/main/java/com/devonfw/tools/ide/tool/intellij/Intellij.java @@ -2,6 +2,7 @@ import java.nio.file.Files; import java.util.ArrayList; +import java.util.Collection; import java.util.List; import java.util.Set; @@ -89,9 +90,13 @@ public void installPlugin(ToolPluginDescriptor plugin, Step step) { } } } - result.log(IdeLogLevel.DEBUG, context, IdeLogLevel.ERROR); step.error("Failed to install plugin {} ({}): exit code was {}", plugin.name(), plugin.id(), result.getExitCode()); } + @Override + protected void installPlugins(Collection plugins) { + super.installPlugins(plugins); + run(); + } }