-
Notifications
You must be signed in to change notification settings - Fork 214
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
Files still locked after earlier stopped / failed build on Windows #440
Comments
Same happens for me on my current product work (no public repo). It's also reproducible - always the same modules. One java.exe has the jars open. |
This seems to be a duplicate of / related to #115 |
I can't build openhab on windows for some reasons (code style issues). Can anyone try with #448 ? It removes the classloader for the |
Thanks for looking into this. I will try it this evening. |
I need a little more time because of other priorities. |
@rogierhofboer could you try give a try to openhab/openhab-core#2432 ? |
@gnodet sorry for the late response. This fixes the problem for me. But shouldn't it also work with |
Yes, it should work with |
ok thanks for your help fixing this. |
When building openHAB:
mvnd clean install -DskipTests
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project org.openhab.core: Failed to clean project: Failed to delete C:\openhab-main\openhab-core\bundles\org.openhab.core\target\org.openhab.core-3.1.0-SNAPSHOT.jar -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project org.openhab.core.io.http: Failed to clean project: Failed to delete C:\openhab-main\openhab-core\bundles\org.openhab.core.io.http\target\org.openhab.core.io.http-3.1.0-SNAPSHOT.jar -> [Help 1]
The target dir cannot be deleted and is still locked by java
killing the java process fixes the problem, could it be the mvdn does not kill all sub-processes when it is aborted and/or failing to build?
The text was updated successfully, but these errors were encountered: