Eclipse SVN安装与清除账号信息
一、安装
我的Eclipse版本信息:
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600
1、安装svn插件
-
点击菜单栏
Help > Install New Software...
-
点击
Add...
,在弹出框中选择下载的插件路径后点击”OK”
- 点击
Select All
后点击Next >
- 继续选择
Next
并接受许可协议中的条款
- 选择’Yes’重启即可
2、安装SVN Connector
在安装完svn插件后直接从svn导入工程,会报错SVN: '0x00400006
:
SVN: '0x00400006: Validate Repository Location' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
因此还需安装SVN Connector
:
- 点击菜单栏
Window->Preferences
,选择Team -> SVN -> SVN Connector
- 点击
Get Connectors...
,选择一个Connector,点击Finish
- 依然是
Next >
然后选择接受许可协议中的条款,再点击Finish
- 再次重启
- 之后就可以直接从
SVN
导入工程了
二、清除账号信息
- 删除
C:\Users\xxxx(用户名)\AppData\Roaming\Subversion\auth\svn.simple
下的文件
此种方式对在eclipse中SVN使用 JavaHL connector 方式 和 TortoiseSVN客户端 有效
- 删除
eclipse\configuration\org.eclipse.core.runtime\.keyring
文件
此种方式对在eclipse中SVN使用 SVN Kit 方式有效
其他方式
由于我的eclipse安装目录下的org.eclipse.core.runtime
下没有.keyring
文件,而且Window>Preferences>Team>SVN
中也没有Password Management
菜单:
因此需要按如下方式清理:
- 选择
Window > Preferences > General > Security > Secure Storage
中的Contents > SVN
菜单,选中要删除的信息后点击Delete
- 之后按提示重启即可