Ashish
Ashish

Reputation: 14707

How to delete non-exist project from Eclipse

I have a non-exist project which I am unable to remove from Eclipse. I am just checking if there is any other way to remove it.

Process of deleting project I am using:

Selecting project -> right click -> select delete -> follow the wizards

Result: a fatal error occured while performing the refactoring found-problem client-target does not exist anymoreenter image description here

enter image description here

Upvotes: 13

Views: 9937

Answers (6)

eduyayo
eduyayo

Reputation: 2038

Running Eclipse with the -clean command line parameter works also.

Upvotes: 0

micahhoover
micahhoover

Reputation: 2160

I found all the answers here to be a little too elaborate and/or risky. So I closed eclipse (actually I had to force delete its sad, broken husk from Task Manager) then started it again.

Then I was able to right-click delete the packages from the package explorer.

Sounds like the solutions here are red/black on the roulette wheel. Maybe one of them will work for somebody? I miss .NET!

Upvotes: -1

slux83
slux83

Reputation: 706

none of the above worked for me but this solution worked (was really a ghost project)

  1. Shut down Eclipse
  2. Open <workspace>/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
  3. Find the faulty tag and remove it
  4. Start Eclipse

Upvotes: 8

TheBakker
TheBakker

Reputation: 3052

For me neither solution worked. I'd to go to "Select working set" then select "Windows working sets". The project then appeared without working set and I was finally able to delete them.

Upvotes: 0

Gernot Krost
Gernot Krost

Reputation: 1124

VinyJones answer did not work for me, since there was no corresponding metadata for the non-existant project. The solution for me was to drag the non-existing project to an other working set. After dragging it disappeared.

Upvotes: 41

VinyJones
VinyJones

Reputation: 1014

You may try this :

  • Close your workspace :
  • Delete the dir client-target from <workspaceDir>\.metadata\.plugins\org.eclipse.core.resources\.projects
  • Open your workspace

And should be good

Upvotes: 11

Related Questions