idea-archive-browser icon indicating copy to clipboard operation
idea-archive-browser copied to clipboard

Does not release file handle on *.zip files

Open dschulten opened this issue 1 year ago • 3 comments

I am building a target/distribution.zip as part of the build. When I open the target folder (without opening the zip using idea-archive-browser) and the idea-archive-browser 0.32 is enabled, it prevents cleaning the project (deleting target) because the zip file is locked. If that happens, there is no way to release the lock other than restarting Intellij, when released with LockHunter, the whole Intelllij freezes.

Workaround: move the zip inside a target/distribution/ folder and do not open it.

dschulten avatar Aug 27 '24 07:08 dschulten

The "Fix" by MirsonMboa seems to be proposed by a bot, has been uploaded by some "ivan" and looks quite suspicious. Do not download or execute.

dschulten avatar Aug 27 '24 07:08 dschulten

Facing the same issue. I am using a Maven build. When I open the JAR file in Intellij, afterwards I am unable successfull run `mvn clean``. It always fails with the error, that the file cannot be deleted. When I try to restart Intellij I have to close all Intellij windows and I have to kill the remaining Intellij process by using the Task Manager.

gr0l avatar Oct 29 '24 07:10 gr0l

I really like this plugin but the file handle lock is a big issue.

crimsonvspurple avatar Nov 04 '24 15:11 crimsonvspurple