SVN在Eclipse中不工作 [英] SVN not working in Eclipse

查看:171
本文介绍了SVN在Eclipse中不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一天我在Eclipse中按帮助 - > 检查更新(我知道我永远不会更新一个可以正常工作的软件。)



然后在我与SVN一起使用的项目中,Team的整个子菜单和显示某些文件不是



我尝试过一切:




  • 安装历史选项卡

  • 卸载软件安装的软件选项卡

  • 将一个新的从eclipse网站下载的 eclipse 替换为 Program Files 再次安装

  • 搜索如何在网上安装



但是在这些情况下以上如果我按 Ctrl + N 没有SVN组;
如果我右键单击项目并选择团队 - > 共享项目,将显示一个带有CVS的窗口,但没有SVN。
如果我选择文件 - > 导入我无法找到SVN。



如果我去帮助 - > 关于Eclipse - > Instalation details 我在25.06.2009 09:59:08 GMT + 03:00(SVN工作时)看到 Instalation History

  Eclipse IDE for Java EE开发人员1.2.0.20090621-0820 
Subclipse(必需)1.6.2
Subversion JavaHL本地库适配器(必需)1.6.3
SVNKit库1.3.0.5847

已安装的软件选项卡我现在已经安装了

  Eclipse IDE for Java EE开发人员1.2.0.20090621-0820 epp.package.jee 
Subclipse(必需)1.6.5 org.tigris.subversion.subclipse.feature.group
Subversion JavaHL本地库适配器(必需)1.6.6 org。 tigris.subversion.clientadapter.javahl.feature.feature.group
SVNKit库1.3.1.6109 org.tmatesoft.svnkit.feature.group

如何使SVN工作?

eclipse存储其文件在哪里,因为当我将eclipse目录更改为新的目录时我的东西在那里(我安装没有成功的东西:SVN,Subversive,Subclipse,SVNKit,...)

解决方案

Subversive 是我在Eclipse中最喜欢的SVN实现,因为它比其他工作更好,它整合到



我建议您按照以下步骤操作:


  1. 下载最新版本的Eclipse(目前为Galileo),并将其解压缩到所需的安装位置


    • 在运行Eclipse之前,确保删除(或重命名/重定位)您的默认工作区(在Windows下,这是工作区您的用户目录)

    • 安装使用Eclipse软件安装程序的颠覆性SVN团队提供商(按照 Eclipse孵化网站的指示)

    • 选择帮助,然后安装新软件...

    • 创建新的下载位置并指定以下下载URL: http://download.eclipse.org/releases/galileo

    • 找到协作,展开它,然后检查颠覆SVN团队提供者(Incubation)

    • 继续安装并接受TOS

    • 重新启动Eclipse和Subversive应提示您选择一个SVN连接器。阅读您描述的症状,听起来您没有安装连接器,或者您没有与您的团队提供商沟通。 Polarion网站有一个指南,用于选择最适合您的连接器。


如果没有提示您安装连接器,您可以随时从首选项屏幕上执行此操作:





如果上述不适用于您,似乎您的工作区未被清除。找到您的默认工作区,然后尝试在没有任何项目的情况下继续工作。



然后您可以尝试删除 .eclipse 目录在您的用户目录。从第3步开始。


One day I pressed in Eclipse Help -> Check for Updates (and I learnt that I should Never Ever update a software which works fine.)

Then in a project that I used with SVN the whole submenu of "Team" and the little icons that showed that some files weren't commited, they all dissapeared.

I tried everything:

  • revert from Instalation History tab
  • uninstall from Installed Software tab
  • replaced the folder eclipse in Program Files with a new one downloaded from eclipse website and tried to install again
  • searched how to install it on the net

But in none of the cases above if I press Ctrl+N There is no SVN group; If i right click on a project and select Team -> Share project, a window with CVS appears, but no SVN. If I choose File -> Import I can't find SVN anywhere.

If I go to Help -> About Eclipse -> Instalation details I see at Instalation History in 25.06.2009, 09:59:08 GMT+03:00 (when SVN worked)

Eclipse IDE for Java EE Developers  1.2.0.20090621-0820
Subclipse (Required)    1.6.2
Subversion JavaHL Native Library Adapter (Required) 1.6.3
SVNKit Library  1.3.0.5847

In the Installed Software tab I have now installed

Eclipse IDE for Java EE Developers  1.2.0.20090621-0820 epp.package.jee
Subclipse (Required)    1.6.5   org.tigris.subversion.subclipse.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.6   org.tigris.subversion.clientadapter.javahl.feature.feature.group
SVNKit Library  1.3.1.6109  org.tmatesoft.svnkit.feature.group

How can I make SVN to work?
Where does eclipse store its files, because when I changed the eclipse directory with a new one all my stuff was there (the ones that I installed with no success: SVN, Subversive, Subclipse, SVNKit, ...)

解决方案

Subversive is my favorite SVN implementation in Eclipse because it works better than the others and it integrates neatly into the UI.

I suggest you follow these steps:

  1. Download the most recent version of Eclipse (currently Galileo) and extract it to your desired installation location
    • Prior to running Eclipse, make sure you delete (or rename/relocate) your default workspace (under Windows this is workspace in your user directory)
    • Install the Subversive SVN Team Provider (as instructed by the Eclipse incubation website) using Eclipse's software installer:
    • Choose Help, then Install New Software...
    • Create a new download location and specify the following download URL: http://download.eclipse.org/releases/galileo
    • Locate Collaboration, expand it, then check Subversive SVN Team Provider (Incubation)
    • Proceed through the installation and accept the TOS
    • Restart Eclipse and Subversive should prompt you to select a SVN Connector. Reading the symptoms you describe, it sounds like you don't have a connector installed, or it isn't communicating with your team provider. The Polarion website has a guide for choosing the connector best suited for you.

If you aren't prompted to install a connector, you can always do so from the preferences screen:

If the above doesn't work for you, it seems that your workspace isn't cleaned out. Locate your default workspace and try getting things working without any projects before you continue.

You could then also try deleting the .eclipse directory in your user directory. And starting over from step 3.

这篇关于SVN在Eclipse中不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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