Some projects cannot be imported because they already exist in the workspace
2012-12-23 18:39
567 查看
1、Some projects cannot be imported because they already exist in the workspace
2、Some projects were hidden because they exist in the workspace directory
有时候eclipse或者myeclipse导入项目的时候会发生上面两个错误,IDE不允许我们导入。具体原因是在IDE的workspace中已经存在了相同名字的项目,所以不能导入。
解决办法则是修改项目名:
1、right click --- refactor --- rename
2、workspace中要修改名字的项目 --- 打开.project文件 --- 修改<name>projectName</name>
==============================================================================================
参考资料:velocityreviews.com
ps:诚然修改项目名可以解决,但是给人的感觉好像是以前的找不到了(工程目录下面明明没有)导致无法删除,只好改名,实乃无奈之举!!
思考--加入不进去,一定是以前的有一个标记记录了你的工程信息,也就是说找到那个标记删除它,我们就不用改名字了。经过我的摸索
E:\workspace\eclipseworkspace\.metadata\.plugins\org.eclipse.core.resources\.projects 在我的这个版本的eclipse上是这个目录里面
2、Some projects were hidden because they exist in the workspace directory
有时候eclipse或者myeclipse导入项目的时候会发生上面两个错误,IDE不允许我们导入。具体原因是在IDE的workspace中已经存在了相同名字的项目,所以不能导入。
解决办法则是修改项目名:
1、right click --- refactor --- rename
2、workspace中要修改名字的项目 --- 打开.project文件 --- 修改<name>projectName</name>
==============================================================================================
参考资料:velocityreviews.com
ps:诚然修改项目名可以解决,但是给人的感觉好像是以前的找不到了(工程目录下面明明没有)导致无法删除,只好改名,实乃无奈之举!!
思考--加入不进去,一定是以前的有一个标记记录了你的工程信息,也就是说找到那个标记删除它,我们就不用改名字了。经过我的摸索
E:\workspace\eclipseworkspace\.metadata\.plugins\org.eclipse.core.resources\.projects 在我的这个版本的eclipse上是这个目录里面
相关文章推荐
- Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- eclipse import工程出现Some projects cannot be imported because they already exist in the workspace
- Android开发问题 - Some projects cannot be imported because they already exist in the workspace
- eclipse导入项目提示已存在(Some projects cannot be imported because they already exist in the workspace)
- Some projects cannot be imported because they already exist in the workspace
- 解决:Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- Eclipse Some projects cannot be imported because they already exist in the workspace 解决办法
- Myeclipse导入项目提示已存在(Some projects cannot be imported because they already exist in the workspace)
- Some projects cannot be imported because they already exist in the workspace error in Eclipse
- 解决:Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- eclipse 中添加工程 Some projects cannot be imported because they already exist in the workspace
- (Eclipse/Myeclipse) Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace
- 解决:Some projects cannot be imported because they already exist in the workspace
- Some projects cannot be imported because they already exist in the workspace