change Username for SVN(Subclipse) in Eclipse

本文介绍如何在Subclipse中管理SVN账号密码。通过SVNKit和JavaHL适配器存储凭证,分别存放在Eclipse的.keyring文件或Subversion配置目录下的auth文件夹。删除对应文件可清除缓存密码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Subclipse does not own the information about users and passwords (credentials), so there is no way for you to manage it from Subclipse itself. It is controlled via adapter Subclipse uses (SVNKit or JavaHL).

The adapter can be choosen in the subclipse preferences (Window - Preferences - Team - SVN -SVN Interface).

SVNKit stores credentials in Eclipse "keyring" file - default encrypted storage for credentials, you may find it for Windows at ECLIPSE_HOME/configuration/org.eclipse.core.runtime/.keyring or on Mac OS X and possible other *nix distros at ~/.eclipse_keyring

JavaHL uses Subversion credentials storage, which files could be found below SUBVERSION_CONFIG_DIR/auth directory. On Linux and OSX configuration directory is ~/.subversion, on Windows it is "C:/Documents and Settings/USER_NAME/Application Data/Subversion".

To delete cached password information you can delete the keyring file (in the SVNKit case) or the contents of the auth folder (in the JavaHL case). The next time subclipse connects to a repository, you will be asked to provide the username and password again.

In the case you delete the auth folder, instead of the files in it, you will stumble upon a Subversion bug in JavaHL, where it will not recreate the proper structure. So now it is not able to cache these values. If you have access to the SVN command line, just run a command and it will create the structure. Then you should be back to normal.

转载于:https://www.cnblogs.com/reynold-lei/p/3669879.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值