恢复Eclipse subversion项目连接 [英] Restore Eclipse subversion project connection

查看:98
本文介绍了恢复Eclipse subversion项目连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Subversion项目,我正在使用Eclipse开发。我从Eclipse内部的svn存储库中进行了原始的检出。所有这些都是好几个星期,因为一些未知的原因,Eclipse(具体来说,在Ganymede的subclipse)不再承认我的项目是在svn控制下。团队上下文菜单仅显示基本的应用补丁/共享此项目菜单选项。从shell,我仍然可以使用svn命令行工具来更新项目,所以我知道svn凭据仍然可以工作。在同一个Eclipse版本的颠覆下的其他项目仍然可以工作。



我意识到我可以删除本地副本并再次查看,但我宁愿明白出了问题 - 解决问题,而不是掩盖症状。 Eclipse在哪里存储哪些项目受版本控制的知识?我查看了 .project 文件和 .settings 目录,但看不到任何明显提到的svn性质或者任何类似的,即使在仍然正常工作的项目中。

解决方案

如果您使用sublipse作为SVN提供商,我推荐执行以下



团队 - >共享项目通常足以连接元数据。



(也就是说,假设.svn文件仍然在那里,如果你可以在命令行工作,他们似乎是这样)。



希望这有助于为什么会发生这种情况我有不知道


I have a project in subversion, which I'm developing using Eclipse. I did the original checkout from the svn repository from inside Eclipse. All was well for some weeks then for some unknown reason, Eclipse (specifically: subclipse in Ganymede) no longer recognizes my project as being under svn control. The team context-menu only shows the basic "apply patch" / "share this project" menu options. From the shell, I can still update the project using the svn command line tools, so I know that the svn credentials still work. Other projects under subversion in the same copy of Eclipse still work.

I realise that I can delete the local copy and check it out again, but I'd rather understand what has gone wrong - fix the problem, rather than mask the symptoms. Where does Eclipse store its knowledge of which projects are under version control? I looked at the .project file and the .settings directory, but couldn't see any obvious mention of svn nature or anything similar, even in the projects that are still working properly.

解决方案

If you are using sublipse as your SVN provider I recommend doing the following

Team -> Share project is usually enough to connect the metadata.

(that is, assuming that the .svn files are still there which they seem to be if you can work on the command line).

Hope this helps as to why this would happen I have no idea

这篇关于恢复Eclipse subversion项目连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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