Attempted to delete a folder and got the following error:
11/14/2013 4:22:17 PM Unable to delete c:\tomcat-7.0.42\webapps\myWebapp\WEB-INF\classes: The process cannot access the file because it is being used by another process
I could not figure out which of my very few open applications might have had the folder/file open that caused the error. Tried using SysInternal's Process Explorer to search for the offending application but didn't find anything (target search "classes" found lots of hits, but not the folder path above). I admit I do not use Process Explorer very often for this, so it could easily have been a mistake on my part.
Sometime later, 5 - 10 minutes, I tried again to delete the folder - it worked! So some process evidently cleaned out their cache?
So here's my enhancement request: could BC display the name of process preventing my delete action? I know its may be a bit beyond the scope of the tool, but it would be oh so useful in certain situations.
11/14/2013 4:22:17 PM Unable to delete c:\tomcat-7.0.42\webapps\myWebapp\WEB-INF\classes: The process cannot access the file because it is being used by another process
I could not figure out which of my very few open applications might have had the folder/file open that caused the error. Tried using SysInternal's Process Explorer to search for the offending application but didn't find anything (target search "classes" found lots of hits, but not the folder path above). I admit I do not use Process Explorer very often for this, so it could easily have been a mistake on my part.
Sometime later, 5 - 10 minutes, I tried again to delete the folder - it worked! So some process evidently cleaned out their cache?
So here's my enhancement request: could BC display the name of process preventing my delete action? I know its may be a bit beyond the scope of the tool, but it would be oh so useful in certain situations.
Comment