Reputation: 9721
I've been spending the past day trying to fix a corrupted eclipse workspace. I have it synched on dropbox and it's been working fine for a long time but recently there was a problem with some conflicting files in the .metadata folder and it messed up everything, my projects just stopped showing in my project explorer.
I ended up re-importing the projects into the workspace and they show fine in project view, but when I try to place them in working sets each project appears twice. If I delete one of the duplicates, the other one gets deleted as well. Anyone know how to resolve this issue? I'd rather not delete .metadata since that would erase all my settings and preferences.
Upvotes: 5
Views: 4743
Reputation: 11
Check whether or not they are the same files shown twice. If this is the case then the solution is simple - go to 'Project Explorer' window, expand downward arrow to get the menu, then 'Project Presentation' -> 'Hierarchical'.
Upvotes: 1
Reputation: 69369
If I were you, I'd start a fresh workspace. Use the preference export/import capabilities to ensure you retain all your favourite settings between workspaces.
I have never managed to save a corrupted workspace. Sometimes you've got to just let them go, like a rabid dog.
Upvotes: 2