Cannot Delete Folder(s) [message #1725341] |
Wed, 02 March 2016 17:45 |
Brian Smither Messages: 13 Registered: February 2016 Location: Rocky Mountains, USA |
Junior Member |
|
|
I mistakenly managed to create a folder, and every attempt to delete it only immediately brought it back. I tried deleting it from outside of Eclipse, only to get a "Files out of sync" condition.
There was a reference to this folder in the Java Build Path properties page, Source tab, Default output folder.
Incredibly confusing.
But there is a persistent problem getting Eclipse to delete folders. It seems that if Eclipse is told to delete a folder that has a sub-folder (that has a sub-folder, recursed), there will always be a problem.
Right-click the folder, select Rename...
Gave a new name, clicked OK.
A dialog window pops up:
Rename Resource
An exception has been caught while processing the Refactoring 'Rename Resource'.
Reason: Problems encountered while moving resources.
Problems encountered while moving resources.
Could not move: C:\Users\AMD-FX\Eclipse\workspace\company_management\company_management.
Problems encountered while deleting files.
Could not delete: C:\Users\AMD-FX\Eclipse\workspace\company_management\company_management\WEB-INF\classes\company_management.
Could not delete: C:\Users\AMD-FX\Eclipse\workspace\company_management\company_management\WEB-INF\classes.
Could not delete: C:\Users\AMD-FX\Eclipse\workspace\company_management\company_management\WEB-INF.
Could not delete: C:\Users\AMD-FX\Eclipse\workspace\company_management\company_management.
It seems Eclipse is able to delete the last folder in the path, but then chokes trying to delete the remaining last folder in the path.
I have to progress up the path one folder at a time.
|
|
|
|
|
Re: Cannot Delete Folder(s) [message #1725378 is a reply to message #1725369] |
Thu, 03 March 2016 07:21 |
|
With Windows this tends to happen if something has a file open, or a Command Prompt window is sitting in the directory. Does it happen with folders that aren't under the default output folder ?
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Powered by
FUDForum. Page generated in 0.03088 seconds