eclipse里面共享项目经常会用到svn或者git插件
关联项目的步骤如下:
如果 点击finish会遇到卡住问题的话,不要着急,我们需要设置svn的client设置:
如果设置了之后还是很卡的话,那么就是eclipse里面的svn插件版本不对,解决方法如下:
先查看自己客户端svn的版本:
我的是1.7.9的版本,装eclipse里面的svn插件,这步要根据我们本地的svn客户端的版本来找对应的eclipse中svn插件应该装的版本才能关联得上,否则关联会失败!
Subclipse 1.4.x includes and requires Subversion 1.5.x client features and working copy format.
Subclipse 1.6.x includes and requires Subversion 1.6.x client features and working copy format.
Subclipse 1.8.x includes and requires Subversion 1.7.x client features and working copy format.
Subclipse 1.10.x includes and requires Subversion 1.8.x client features and working copy format.
Subclipse 1.12.x includes and requires Subversion 1.9.x client features and working copy format
因为我们本地客户端(TortoiseSVN)的版本为Subversion1.7.9,所以我们要安装的eclipse要安装的版本为 Subclipse为1.8.x,对应版本的下载地址如下
Subclipse 插件下载路径,建议FQ
Links for 1.12.x Release:
Eclipse update site URL: http://subclipse.tigris.org/update_1.12.x
Links for 1.10.x Release:
Changelog: http://subclipse.tigris.org/subclipse_1.10.x/changes.html
Eclipse update site URL: http://subclipse.tigris.org/update_1.10.x
Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
Archived releases: http://subclipse.tigris.org/archive
Links for 1.8.x Release:
Changelog: http://subclipse.tigris.org/subclipse_1.8.x/changes.html
Eclipse update site URL: http://subclipse.tigris.org/update_1.8.x
Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
Archived releases: http://subclipse.tigris.org/archive
Links for 1.6.x Release:
Changelog: http://subclipse.tigris.org/subclipse_1.6.x/changes.html
Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
Links for 1.4.x Release:
Changelog: http://subclipse.tigris.org/subclipse_1.4.x/changes.html
Eclipse update site URL: http://subclipse.tigris.org/update_1.4.x
Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240
这里要注意的是1.12.x版本由于比较新,只能通过eclipse在线安装,步骤如下:
打开eclipse,点击Help —> Install New SoftWare
在弹出的对话框中点击add按钮
出现如下页面
Name可以随便命名,不过一般要取名有意义,便于自己和别人查看
Location中输入Eclipse upupdate site URL后的网址,点击ok
等待一段时间后出现如图,去掉Contact all之前的勾选,然后一路点击next即可安装成功。
注意:中间若弹出对话框,点击ok即可。安装完成之后,eclipse会自动重启
下面我下载了Subclipse 1.8.x
将features和plugins放到eclipse的dropins文件夹下面,重启eclipse即可。