Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 50158

Summary: [reorg] cannot delete a linked folder that points to a non-existant directory on disk [refactoring]
Product: [Eclipse Project] JDT Reporter: Alex <alexrosen>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Ferdinand.Albrecht, markus.kell.r, peter.van.der.vossen
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alex CLA 2004-01-16 15:01:23 EST
I create a folder, and link it to a directory on disk. I accidentally mistype 
the directory path, but it lets me hit Finish anyway. I see the folder in the 
Package Explorer and realize my mistake, so I try to delete it, but it won't 
let me - it says "Resource '/project/badfolder' is out of sync with file 
system". The only way to delete it is to create a dummy directory at that 
location (the incorrect one that I accidentally entered).

This would still be a problem even if the New Folder dialog refused to let me 
create a bad link, because even if I create it correctly, what if the directory 
gets deleted later?
Comment 1 DJ Houghton CLA 2004-01-16 17:08:29 EST
Moving to JDT/UI.
Navigator allows the deletion of this folder but the Package Explorer does not.
Comment 2 Dirk Baeumer CLA 2006-04-05 14:22:44 EDT
Moiving to inbox.
Comment 3 Markus Keller CLA 2007-03-29 04:32:40 EDT
*** Bug 57641 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2009-04-27 09:05:34 EDT
*** Bug 273420 has been marked as a duplicate of this bug. ***
Comment 5 Eclipse Genie CLA 2019-05-10 13:39:35 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Dani Megert CLA 2019-05-12 13:01:43 EDT
Works for me using 4.12 M1.