Eclipse:完全删除一个旧项目? [英] Eclipse: fully remove an old project?
问题描述
如何强制Eclipse忘记原始项目,以便我可以创建新的项目?
一般来说,从 /。metadata / .plugins / org.eclipse.core.resources / .projects / em> 应该可以工作,但是如果您使用工作集,您可能会遇到过一次问题,这在您的工作区中基本上有一个ghost项目,因为它不能删除说这个项目不存在了。
如果这是您的问题,请尝试在文件中删除您的ghost项目条目:
/。metadata / .plugins / org.eclipse.ui.workbench / workingsets.xml (在MacOS上)
I run eclipse on Ubuntu 11.10. I originally created a project in folder foo. I subsequently deleted that project to re-organise folders and I now want to create a new project in folder foo/bar but Eclipse won't let me because it says the the new directory is a sub-directory of an existing project.
How can I force Eclipse to forget about the original project so that I can create the new one?
In general, the deleting the project from the "/.metadata/.plugins/org.eclipse.core.resources/.projects" should work, but if you're using 'working sets', you might have the problem I had once, which is basically have a 'ghost' project in your workspace that you can't delete because it says "this project doesn't exist anymore".
If this is your problem, try to delete an entry for your 'ghost project' in the file:
"/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml" (on MacOS).
这篇关于Eclipse:完全删除一个旧项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!