How to find out which plugin is locking a jar file [message #626237] |
Wed, 22 September 2010 13:09 |
Haroldo de Oliveira Pinheiro Messages: 5 Registered: April 2010 |
Junior Member |
|
|
Recently, I've been running into an annoying issue:
Frequently, when I'm executing the build file for some of the projects in the workspace in order to create a jar file, I run into an error where the previous copy of the jar can't be overwritten because it's in use. It can't be because of a running java program, because there's none running; it can't be because of an external program, because closing Eclipse and opening it again solves the problem (for a while); moreover, Process Explorer (an enhanced Windows task manager) says the file is being kept open by eclipse.exe, which is not surprising, given the above, but also not tremendously useful, either, since it can't look inside the JVM to know which object is locking the file.
My question is: is there a way to know exactly what is locking this file?
|
|
|
Powered by
FUDForum. Page generated in 0.02844 seconds