From ec33b1ebf1c97d1280baa274d4f566457c99819b Mon Sep 17 00:00:00 2001 From: Stephane Bouchet Date: Mon, 9 Oct 2023 16:59:16 +0200 Subject: [PATCH] JBIDE-29058: fix build after TP update (quarkus-ls 0.17) Signed-off-by: Stephane Bouchet --- .../lsp4e/internal/ls/qute/QuteLanguageClient.java | 9 +++++++++ pom.xml | 12 ++++++------ .../ui/wizard/CodeProjectWizardControllerTest.java | 4 +++- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/plugins/org.jboss.tools.quarkus.lsp4e/src/org/jboss/tools/quarkus/lsp4e/internal/ls/qute/QuteLanguageClient.java b/plugins/org.jboss.tools.quarkus.lsp4e/src/org/jboss/tools/quarkus/lsp4e/internal/ls/qute/QuteLanguageClient.java index c0e93433..dfe1a3a5 100644 --- a/plugins/org.jboss.tools.quarkus.lsp4e/src/org/jboss/tools/quarkus/lsp4e/internal/ls/qute/QuteLanguageClient.java +++ b/plugins/org.jboss.tools.quarkus.lsp4e/src/org/jboss/tools/quarkus/lsp4e/internal/ls/qute/QuteLanguageClient.java @@ -11,6 +11,7 @@ package org.jboss.tools.quarkus.lsp4e.internal.ls.qute; import java.util.ArrayList; +import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.concurrent.CompletableFuture; @@ -269,4 +270,12 @@ public void preferenceChange(PreferenceChangeEvent event) { getLanguageServer().getWorkspaceService() .didChangeConfiguration(new DidChangeConfigurationParams(QuteUtils.getQuteSettings())); } + + @Override + public CompletableFuture> getProjects() { + return CompletableFutures.computeAsync((cancelChecker) -> { + IProgressMonitor monitor = getProgressMonitor(cancelChecker); + return QuteSupportForTemplate.getInstance().getProjects(JDTUtilsImpl.getInstance(), monitor); + }); + } } diff --git a/pom.xml b/pom.xml index 78971f7e..f5640322 100644 --- a/pom.xml +++ b/pom.xml @@ -38,12 +38,12 @@ 0.25.0 v1.9.0 scm:git:https://github.com/jbosstools/jbosstools-quarkus.git - https://download.jboss.org/jbosstools/vscode/stable/builds/quarkus-jdt/2023-08-08_15-02-58-B236/all/repo/ - https://download.jboss.org/jbosstools/vscode/stable/builds/qute-jdt/2023-08-08_15-02-58-B236/all/repo/ - http://download.eclipse.org/lsp4mp/releases/0.8.0/repository/ - 0.16.0 - 0.9.0 - 0.16.0 + https://download.jboss.org/jbosstools/vscode/stable/builds/quarkus-jdt/2023-10-05_14-34-43-B248/all/repo/ + https://download.jboss.org/jbosstools/vscode/stable/builds/qute-jdt/2023-10-05_14-34-43-B248/all/repo/ + https://download.eclipse.org/lsp4mp/releases/0.10.0/repository/ + 0.17.0 + 0.17.0 + 0.10.0