-
Notifications
You must be signed in to change notification settings - Fork 132
clean command fails in windows #1360
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
Comments
Strange ... in my other test environment I could not reproduce the issue and del worked fine. I assume it depends on the content in the make folder. |
Note that to upgrade the make folder Sloeber checks for the existence of make.exe and sh.exe. |
hmm, I was not able to upgrade the make folder by using the above described method. |
In 4.3.3 Sloeber will uise the old make.zip |
that's what I did after the upgrade did not change anything |
Strange; This with the default path? |
no, sloeber_path_extension is set to c:\git\bin |
sure it is. |
Is there anything I can do to help track down this problem? |
You could try wether rm works fin on your system |
For some reason, now I am not able to build anymore after clean (before changing from del to rm)
|
I know the whole set-up is very path/tool sensitive on windows. That is why I decided to force a "standard newly installed windows path" in Sloeber. (and work with FQN) Now I think of it. For your issue (calling a command that needs a different path). The best solution is probably to make a script file (like bat file) and set the path in there before calling your code. Adding a folder only containing that script file to Sloeber should be safe |
Brilliant idea! |
Yep, this worked! clean, initial build and incremental build, all work now me happy :) Thank you so much for this nice workaround 👍 |
That is as expected because sloeber changes the path before starting the makefile.
Cool |
reported in #1359 and regression due to fix of #1210
Basically #1210 introduced a sh in the toolchain and therefore the del command is no longer recognized when running make (because sh does not know del and cmd does)
The text was updated successfully, but these errors were encountered: