2

I have deleted a project folder with filesystem utilities, but it is still listed in a project explorer of Eclipse Helios. How to delete project from there too?

Deletion from .metadata.plugins\org.eclipse.core.resources.projects does not help (i.e. folders are deleted from there too, but listed in project explorer nevertheless).

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Dims
  • 47,675
  • 117
  • 331
  • 600

3 Answers3

2

The solution was to "refresh" project explorer. Not sure if it is required to delete folders first, but after it was done and after refresh, Eclipse explicitly asked to remove absent projects.

Dims
  • 47,675
  • 117
  • 331
  • 600
0

The problem can arise when you have deleted a project, but did not click the "delete project contents on disk(cannot be undone)". The project exists in a kind of limbo. If you get errors reported on this project, then in the "Problems" tab click on the "Resources" line and "Show in.." project explorer. Now you can really delete it.

user462990
  • 5,472
  • 3
  • 33
  • 35
0

Can't you just right click in the project explorer and select delete?

In future, use the Eclipse option to delete projects (it also gives you the option of deleting from the file system or not).

Adrian Mouat
  • 44,585
  • 16
  • 110
  • 102
  • There is no Delete option in rightclick menu, so I can't delete this project this way too. The project is in "closed" state. So I neither can delete it, nor open. Also I can't create new project with the same name, because Eclipse sure it exists. Very uncomfortable bug! – Dims May 23 '11 at 18:11
  • double click on the project or either right click first open the project then again do right click then the delete option will come... – RobinHood Jun 07 '11 at 13:09