终于把Eclipse的SVN插件装上了,好费劲……
我的是eclipse-rcp-helios-SR1-win32,开发RCP插件的。
(1)下载subversive
到http://www.eclipse.org/subversive/downloads.php,
找到“Helios Release”,下边有个 ------------------------ Archived update site: Subversive-incubation-0.7.9.I20100512-1900.zip ------------------------ 下载那个zip包,解压,把features、plugins目录覆盖到eclipse下就行了。
(2)下载svn connector
启动eclipse后,会自动弹出下载svn connector的对话框,可是死活下载不了。
自己动手,到http://www.polarion.com/products/svn/subversive/download.php
找到 ------------------------------- Subversive Connector Archives http://community.polarion.com/projects/subversive/download/eclipse/2.0/builds/ - Subversive Connector Archives ---------------------------------- 进这个网址,挑最新的下载,我选的Subversive-connectors-2.2.2.I20110124-1700.zip。
然后,解压,覆盖,却还是不好使。
折腾N久……
报类似下面这个错误: ------------------------------ Cannot complete the install because one or more required items could not be found. Software being installed: Subversive SVN Connectors 2.2.2.I20110124-1700 (org.polarion.eclipse.team.svn.connector.feature.group 2.2.2.I20110124-1700) Missing requirement: Subversive SVN Connectors 2.2.2.I20110124-1700 (org.polarion.eclipse.team.svn.connector.feature.group 2.2.2.I20110124-1700) requires 'org.eclipse.team.svn.feature.group [0.7.9.I20110101-1700,1.0.0)' but it could not be found ---------------------------------
搜索,似乎是个release的bug吧,解决方法就是先安装个旧版,如下:
Eclipse的help/install new software下,点击“Available software sites”,
找到http://download.eclipse.org/technology/subversive/0.7/update-site,打钩,OK
回来,在下拉框选择它,然后选择“Subversive svn team provider plugin”下的
subversive svn team provider(incubation),安装它,重启Eclipse。 --------------------------------------------- 此时,那个下载svn connector的对话框应该能装了,但我没装。
我直接在install new software里add了我下载的那个zip包,Subversive-connectors-2.2.2.I20110124-1700.zip,安装OK了。
(3)设置svn connector eclipse -> windows -> preferences -> team -> svn,点SVN Connector,然后选择一个要用的connector。
(4)大功告成,太费劲了。
|