Eclipse (Kepler) 启用 SVN 连接器需要什么:在“团队->SVN”下?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17479371/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:47:25  来源:igfitidea点击:

Eclipse (Kepler) What is required to enable SVN Connector: Under "Team->SVN"?

eclipsesvneclipse-plugin

提问by Ken Ingram

I have installed the latest Eclipse (Kepler) into a new directory and can no longer access my repositories through Eclipse.

我已将最新的 Eclipse (Kepler) 安装到新目录中,并且无法再通过 Eclipse 访问我的存储库。

As far as I can tell, I've set up everything properly after 2 days of trying to fix this.

据我所知,在尝试解决此问题 2 天后,我已经正确设置了所有内容。

No! You can't have your repositoryWell yes, everything you need is installedWhat connector?

不! 你不能拥有你的仓库嗯,是的,您需要的一切都已安装什么接头?

wtf?

卧槽?

Should I just ditch the supposedly better, newer Eclipse and go back a step so I can at least work?

我应该放弃据称更好、更新的 Eclipse 并退后一步,这样我至少可以工作吗?

采纳答案by Ken Ingram

One important detail in resolving this issue was remembering that I wanted to keep my workspace. When I decided to start from scratch, I backed up the workspace, and then copied over only the directories that I needed, instead of the entire workspace as I had been doing.

解决这个问题的一个重要细节是记住我想保留我的工作区。当我决定从头开始时,我备份了工作区,然后只复制了我需要的目录,而不是像我一直在做的整个工作区。

The result of starting fresh is that some hidden files residing in the old workspace were not longer present and the triggers for installing the connector executed properly.

重新启动的结果是,驻留在旧工作区中的一些隐藏文件不再存在,并且安装连接器的触发器正确执行。

everything was fine after that.

之后一切都很好。

回答by bmaupin

I've never had this problem in Linux, but I recently had it in Windows. This is what I did:

我在 Linux 中从来没有遇到过这个问题,但我最近在 Windows 中遇到了这个问题。这就是我所做的:

  1. Go to http://www.polarion.com/products/svn/subversive/download.php
    (the link that Dollyn posted)
  2. Under the latest Release, copy the Subversive SVN ConnectorsURL
  3. In Eclipse, go to the Helpmenu → Install New Software...
  4. Click Add...
  5. In Locationcopy the URL for the Subversive SVN Connectors
  6. Click OK
  7. Check Subversive SVN Connectors
  8. Click Next, and then follow the instructions to complete installation
  1. 转到http://www.polarion.com/products/svn/subversive/download.php
    (多琳发布的链接
  2. 在最新的Release 下,复制Subversive SVN ConnectorsURL
  3. 在 Eclipse 中,转到帮助菜单 →安装新软件...
  4. 点击添加...
  5. Location 中复制 Subversive SVN 连接器的 URL
  6. 单击确定
  7. 检查颠覆性 SVN 连接器
  8. 单击下一步,然后按照说明完成安装

回答by Dollyn

回答by Umesh

I was also facing the same the problem. Solution is simple just delete metadata folder from current workspace or create the new workspace.

我也面临同样的问题。解决方案很简单,只需从当前工作区中删除元数据文件夹或创建新工作区

回答by deniz

Use this url to install SVN connectors for Eclipse/Kepler

使用此 URL 为 Eclipse/Kepler 安装 SVN 连接器

latest stable release

最新稳定版本

http://community.polarion.com/projects/subversive/download/eclipse/4.0/update-site/

http://community.polarion.com/projects/subversive/download/eclipse/4.0/update-site/

回答by Ken Ingram

The main problem was that I needed to clear out my workspace. The trigger that downloads the connector was not activating.

主要问题是我需要清理我的工作区。下载连接器的触发器未激活。

When I pointed Eclipse to a new workspace, the connector download appeared during the following startup.

当我将 Eclipse 指向一个新的工作区时,在接下来的启动过程中出现了连接器下载。

Archived my old workspace and slowly adding work in progress.

归档我的旧工作区并慢慢添加正在进行的工作。

It's really important to stay organized if one is going to do development on multiple projects at once.

如果您要同时对多个项目进行开发,那么保持井井有条非常重要。

回答by Christophe Roussy

Go to the marketplace and search for Subclipse (or another tool) and install it. Next time you open the Team Synchronizing perspective you will have SVN support (not only Git and CVS anymore). You will be able to add SVN repositories as usual in SVN Repository Exploring perspective.

转到市场并搜索 Subclipse(或其他工具)并安装它。下次打开 Team Synchronizing 透视图时,您将获得 SVN 支持(不再只是 Git 和 CVS)。您将能够像往常一样在 SVN 存储库探索视角中添加 SVN 存储库。

回答by Arpit Aggarwal

For Eclipse Kepler: http://subclipse.tigris.org/update_1.6.xfollowed by http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/works for me.

对于Eclipse Keplerhttp://subclipse.tigris.org/update_1.6.x其次是http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/对我来说有效。

Steps are as follows:

步骤如下:

  1. "Help" -> "Install New Software".
  2. Put http://subclipse.tigris.org/update_1.6.xin the "work with" textbox and click on the "Add" button.
  3. Select all components and install it.
  4. Put http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/in the "work with" textbox and click on the "Add" button.
  5. Select all components and install it.
  1. “帮助”->“安装新软件”。
  2. 放入http://subclipse.tigris.org/update_1.6.x“使用”文本框,然后单击“添加”按钮。
  3. 选择所有组件并安装它。
  4. 放入http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/“使用”文本框,然后单击“添加”按钮。
  5. 选择所有组件并安装它。

回答by gb96

Note for anyone having strange Eclipse plugin install/update problems under Windows: if your normal Windows login does not have Administrator privileges (for security it should not) then Eclipse plugin install/update can break unexpectedly due to file permissions.

对于在 Windows 下遇到奇怪的 Eclipse 插件安装/更新问题的任何人,请注意:如果您的正常 Windows 登录没有管理员权限(为了安全起见,它不应该)那么 Eclipse 插件安装/更新可能会由于文件权限而意外中断。

An example (misleading) error message when attempting to install SVN connectors is:

尝试安装 SVN 连接器时的示例(误导性)错误消息是:

No repository found containing: org.eclipse.update.feature,org.polarion.eclipse.team.svn.connector,3.0.1.I20130507-1700

In this case, always perform Eclipse plugin install/update as an Administrator and the above-mentioned problems vanish. I thought I should share this here because the Eclipse error messages can lead you in completely the wrong direction.

在这种情况下,始终以管理员身份执行 Eclipse 插件安装/更新,上述问题就会消失。我想我应该在这里分享这个,因为 Eclipse 错误消息可能会将您引向完全错误的方向。