Fix bin duplication in artifact path #1081
Labels
blocker
bug
Something isn't working
bugfix
commandlet
install
installation process of IDE + tools and install commandlet
Expected behavior
The installation commandlet
ideasy.exe install
should also work ifbin
is already in current path.Actual behavior
When running
ideasy install
from a path, wherebin
is part of the current path, e.g.C:\projects\_ide\bin\ideasy
, thenbin
is appended to theartifactPath
extra, likeC:\projects\_ide\bin\bin
. That leads to a invalid path.Steps to reproduce
Run
C:\projects\_ide\bin\ideasy.exe install
or navigate inside thebin
folder and runideasy.exe install
there. Then enteryes
and you should get this output. Otherwise you can also run with-f
directly. Be sure that IDEasy is not installed on your system. Removesoftware/maven
and also theenv
Related/Dependent Issues
PR #978 needs this fix, because the MSI installer uses the absolute path to the
ideasy.exe
Comments/Hints:
While debugging, I realized the extra appending of
bin
and theif-statement
leading to the error message in this spot:IDEasy/cli/src/main/java/com/devonfw/tools/ide/tool/IdeasyCommandlet.java
Lines 293 to 294 in e6cf615
The text was updated successfully, but these errors were encountered: