Eclipse:完全删除一个旧项目? [英] Eclipse: fully remove an old project?

查看:677
本文介绍了Eclipse:完全删除一个旧项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu 11.10上运行eclipse。我最初在文件夹 foo 中创建了一个项目。我随后删除该项目以重新组织文件夹,现在我想在文件夹 foo / bar 中创建一个新项目,但是Eclipse不会让我,因为它表示新目录是一个子目录现在的项目。



如何强制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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆