From 605aa475d5a0103ccc22f20525ecdb3d6876094f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Mon, 14 Nov 2022 10:13:02 +0100 Subject: [PATCH] #976: eclipse needs to be setup before we can call it (#977) --- CHANGELOG.asciidoc | 1 + scripts/src/main/resources/scripts/command/eclipse | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 381a0e08d..90aeac8b9 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -13,6 +13,7 @@ New release with various improvements and bugfixes: * https://github.com/devonfw/ide/issues/940[#940]: Make doInstall even more generic * https://github.com/devonfw/ide/issues/935[#935]: doDevonCommand should use doFail instead of doAskToContinue * https://github.com/devonfw/ide/issues/905[#905]: Better error handling when installing Eclipse plugins +* https://github.com/devonfw/ide/issues/976[#976]: Eclipse project import fails * https://github.com/devonfw/ide/issues/960[#960]: openshift version check fails * https://github.com/devonfw/ide/issues/929[#929]: Ensure function documentation is in sync diff --git a/scripts/src/main/resources/scripts/command/eclipse b/scripts/src/main/resources/scripts/command/eclipse index 270ceeb2c..8fa3a7a70 100755 --- a/scripts/src/main/resources/scripts/command/eclipse +++ b/scripts/src/main/resources/scripts/command/eclipse @@ -430,15 +430,18 @@ do elif [ "${1}" = "add-plugin" ] then shift + doSetup silent doAddPlugin "${@}" exit ${?} elif [ "${1}" = "import" ] then + doSetup silent doImportEclipse "${2}" "${3}" exit ${?} elif [ "${1}" = "mirror" ] then shift + doSetup silent doMirrorUpdateSite "${@}" exit ${?} else