You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Mac user, I want to be able to setup IDEasy successfully so that I can use the tool.
Actual behavior
➜ ./setup
Setting up your IDEasy in /Users/hohwille/projects/_ide
Configuring IDEasy in /Users/hohwille/.bashrc.
Configuring IDEasy in /Users/hohwille/.zshrc.
➜ ide create IDEasy
zsh: command not found: ide
This is the first bug:
IDEasy registers itself into .bashrc and .zshrc but not in the current shell.
You need to start a new shell and then this problem is solved. But...
➜ ide create IDEasy
/Users/hohwille/projects/_ide/bin/ide:5: no such file or directory: ./ideasy
On Mac $(dirname "${BASH_SOURCE}") evaluates to ..
This seems to be a problem of zsh.
When I run bash and then rerun ide or ideasy this error goes away.
However, this just leads me to the next error #451 (Gatekeeper).
After complex fiddling of security settings, permission grants and admin passwords, I can run ide command in bash.
Next problem: ideasy now fails with exist code 1 without saying a single word.
I did not give up easily and found a command that at least gives some output:
bash-3.2$ ./ideasy -t -v
Looking for IDE_HOME in /Users/hohwille/projects/_ide/bin
Looking for IDE_HOME in /Users/hohwille/projects/_ide
Looking for IDE_HOME in /Users/hohwille/projects
Looking for IDE_HOME in /Users/hohwille
Looking for IDE_HOME in /Users
Looking for IDE_HOME in /
Starting step ide with params [-v]...
Trying to match arguments to commandlet list-editions
Trying to match argument '-v'
Next property candidate to match argument is KeywordProperty[list-editions:null]
Commandlet did not match
Trying to match arguments to commandlet vscode
Trying to match argument '-v'
Next property candidate to match argument is KeywordProperty[vscode:null]
Commandlet did not match
Trying to match arguments to commandlet complete
Trying to match argument '-v'
Next property candidate to match argument is KeywordProperty[complete:null]
Commandlet did not match
Trying to match arguments to commandlet uninstall
Trying to match argument '-v'
Next property candidate to match argument is KeywordProperty[uninstall:null]
Commandlet did not match
Trying to match arguments to commandlet repository
Trying to match argument '-v'
Next property candidate to match argument is KeywordProperty[repository:null]
Commandlet did not match
Trying to match arguments to commandlet --version
Trying to match argument '-v'
Next property candidate to match argument is FlagProperty[--version | -v:null]
Running commandlet VersionCommandlet[--version]
2024.12.001-beta-SNAPSHOT
Step 'ide' ended successfully.
ide (-v) succeeded after PT0.001S
So at least this is still our code operated on Mac :)
I now was even able to get the help.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
download and extract latest IDEasy release on your mac to ~/projects/_ide
run ./setup
run ide command
Related/Dependent Issues
Comments/Hints:
Affected version:
OS: Mac
2024.12.001-beta-SNAPSHOT
The text was updated successfully, but these errors were encountered:
Expected behavior
As a Mac user, I want to be able to setup IDEasy successfully so that I can use the tool.
Actual behavior
This is the first bug:
IDEasy registers itself into
.bashrc
and.zshrc
but not in the current shell.You need to start a new shell and then this problem is solved. But...
The problem is here:
IDEasy/cli/src/main/package/bin/ide
Line 3 in 584cced
On Mac
$(dirname "${BASH_SOURCE}")
evaluates to.
.This seems to be a problem of
zsh
.When I run
bash
and then rerunide
orideasy
this error goes away.However, this just leads me to the next error #451 (Gatekeeper).
After complex fiddling of security settings, permission grants and admin passwords, I can run ide command in bash.
Next problem:
ideasy
now fails with exist code1
without saying a single word.I did not give up easily and found a command that at least gives some output:
So at least this is still our code operated on Mac :)
I now was even able to get the help.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
./setup
ide
commandRelated/Dependent Issues
Comments/Hints:
Affected version:
The text was updated successfully, but these errors were encountered: