Skip to content
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

mismatch of working directory #574

Closed
ndemirca opened this issue Sep 2, 2024 · 1 comment · Fixed by #606
Closed

mismatch of working directory #574

ndemirca opened this issue Sep 2, 2024 · 1 comment · Fixed by #606
Assignees
Labels
bug Something isn't working

Comments

@ndemirca
Copy link
Contributor

ndemirca commented Sep 2, 2024

Actual behavior

IDEasy incorrectly assumes that the current working directory would be D:\projects\_ide\software\default\java\java\21.0.4_7 while it is actually /d/projects/IDEasy/software/java.

image

Steps to reproduce (bug)

  1. execute $ ide help in /d/projects/IDEasy/software/java
@ndemirca ndemirca added the bug Something isn't working label Sep 2, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Sep 2, 2024
@ndemirca ndemirca self-assigned this Sep 2, 2024
@ndemirca ndemirca moved this from 🆕 New to 🏗 In progress in IDEasy board Sep 2, 2024
@hohwille
Copy link
Member

hohwille commented Sep 2, 2024

FYI: The folder /d/projects/IDEasy/software/java is a Junction (Windows specific variant of a kind of symbolic link) to /d/projects/_ide/software/default/java/java/21.0.4_7.
Still the behavior is not expected and considered as bug.
Maybe we are doing a Path.toRealPath() somewhere on our working directory that would explain the problem.
It could be that already Path.toAbsolutePath() is causing this effect and then we would have to implement a specific workaround.

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in IDEasy board Sep 13, 2024
@hohwille hohwille added this to the release:2024.09.002 milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants