-
Notifications
You must be signed in to change notification settings - Fork 33
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
ide.bat not printing if IDEasy was initialized #894
Comments
alfeilex
added a commit
to alfeilex/IDEasy
that referenced
this issue
Jan 7, 2025
hohwille
pushed a commit
that referenced
this issue
Jan 7, 2025
hohwille
added a commit
to alfeilex/IDEasy
that referenced
this issue
Jan 16, 2025
alfeilex
added a commit
to alfeilex/IDEasy
that referenced
this issue
Jan 21, 2025
alfeilex
added a commit
to alfeilex/IDEasy
that referenced
this issue
Jan 21, 2025
hohwille
pushed a commit
that referenced
this issue
Jan 21, 2025
hohwille
added a commit
that referenced
this issue
Jan 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
As a IDEasy user who for some odd reason is ignorant and still using CMD, I want that after setting up my environment with the
ide
command the according success message gets printed so that I get the appropriate feedback.Actual behavior
In
CMD
no message is printed at all no matter if I was inside an IDEasy project or not after callingide
command (ide.bat
).The interesting thing is that there is a tiny difference: If the setup failed because I was not inside an IDEasy project, I get an extra empty line logged.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
CMD
inside your IDEasy projectide
commandRelated/Dependent Issues
See #886
Comments/Hints:
IDEasy/cli/src/main/package/bin/ide.bat
Lines 17 to 22 in 75f5043
So we want to get the exit code of
ideasy ... env
command but the way we are doing this seems to be wrong.The question is if the
call set %%i
command is also setting (overriding) theERRORLEVEL
variable.Finally, the major question is why the
ERRORLEVEL
is never zero - so is there always an error happening?.The general variable and pattern was already used before in
devonfw-ide
and used to work:https://github.com/devonfw/ide/blob/8698d2ba7468d34aec82c86fabdb09b5ee84d9c8/scripts/src/main/resources/scripts/devon.bat#L94
Affected version:
The text was updated successfully, but these errors were encountered: