有没有办法更改Eclipse插件Team Explorer Everywhere的登录名和密码? [英] Is there a way to change the Eclipse plug-in Team Explorer Everywhere login and password?

查看:115
本文介绍了有没有办法更改Eclipse插件Team Explorer Everywhere的登录名和密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一名新开发人员将TEE插件安装到Eclipse中。由于尚未获得访问权限,因此他借用了我的登录名和用户名。现在已经授予他访问权限,是否有办法返回并更改为使用其凭据而不是我的凭据?我找不到任何办法Eclipse中似乎没有任何选项,可以在Windows-> Preferences-> Team或其他任何位置进行。

A new developer installed the TEE plug-in into Eclipse. Because he hadn't yet been granted access, he borrowed my login and username. Now that he has been granted access, is there a way to go back and change to using his credentials instead of mine? I couldn't find any way to do it; there doesn't seem to be any option within Eclipse, under Windows->Preferences->Team or anywhere else.

我能想到的最后一招是完全卸载并重新安装该插件,但是我什至没有信心在Eclipse以某种方式挂在凭据上的情况下能否正常工作。并且无论如何我们都希望不必完全重新安装。

The last resort I can think of is to completely uninstall and reinstall the plug-in, but I'm not even confident that will work in case Eclipse is hanging on to the credentials somehow. And in any case we'd prefer to do it without having to completely reinstall.

推荐答案

不幸的是,创建了TFS工作区每用户。如果新开发人员要以自己的身份登录,则他将无法加载原来使用的TFS工作区(冒充您),并且Eclipse的TFS插件将不能连接到他的Eclipse项目。到TFS。他需要使用适当的工作文件夹映射(与他现在使用的文件夹映射)建立一个新的TFS工作区。

Unfortunately, TFS workspaces are created per-user. If the new developer were to sign in as himself, he cannot load the TFS workspace that he originally used (impersonating you), and the TFS plug-in for Eclipse will not be able to connect his Eclipse projects to TFS. He'll need to set up a new TFS workspace with the appropriate working folder mappings (the same as the one he's using now).

这可以手动完成,但是简单地创建一个新的Eclipse工作区并再次导入项目可能要容易得多。无需重新安装Eclipse或Team Explorer Everywhere插件即可完成此操作,但他确实需要重新配置其配置文件(该机制用于在Team Explorer Everywhere 2010中存储连接信息。)

This can be done manually, but it's probably far easier to simply create a new Eclipse workspace and import the projects again. There's no need to reinstall Eclipse or the Team Explorer Everywhere plug-in in order to accomplish this, but he does need to reconfigure his profiles (the mechanism used to store connection information in Team Explorer Everywhere 2010.)

他应该执行以下步骤以重新开始(并以自己的身份进行身份验证):

He should perform the following steps in order to start over (and authenticate as himself):


  1. 让开发人员搁置或签入任何未决的更改。创建新的TFS工作区时,他的未决更改将丢失。

  2. 退出Eclipse的所有实例。

  3. 删除TEE配置文件配置和工作空间缓存-配置文件配置包含具有您的身份验证的配置文件,并且工作空间缓存具有您的工作空间列表(具有用于连接到它们的配置文件信息)。配置文件配置文件为:

  1. Have the developer shelve or check-in any pending changes. His pending changes will be lost when he creates a new TFS workspace.
  2. Quit all instances of Eclipse.
  3. Delete the TEE profile configuration and the workspace cache - the profile configuration has profiles with your authentication, and the workspace cache has a list of your workspaces (with the profile information that is used to connect to them). The profile configuration file is:

%LOCALAPPDATA%\Microsoft\Team Explorer\10.0\Profiles\profiles.xml

工作区缓存文件为:

%LOCALAPPDATA% \Microsoft\Team Explorer\10.0\Workspaces\workspaces.xml

重新启动Eclipse,并导入必要的TFS的项目。此时,应该提示他进行身份验证,并且应该能够以自己的身份进行身份验证。

Restart Eclipse, and import the necessary projects from TFS. At this point, he should be prompted to authenticate, and should be able to do so as himself.

注意:这种机制在TEE 2012中有所不同-为了简单起见,我们删除了配置文件。如果您想以其他用户身份进行身份验证,我们将尊重Windows凭据存储机制,就像Visual Studio和Internet Explorer一样。 (在控制面板->管理Windows凭据中可用。)

Note: this mechanism is a bit different in TEE 2012 - we've removed profiles for simplicity. If you want to authenticate as a different user, we will respect the Windows credentials storage mechanism just like Visual Studio and Internet Explorer. (Available in Control Panel -> Manage Windows Credentials.)

这篇关于有没有办法更改Eclipse插件Team Explorer Everywhere的登录名和密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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