SVN not working in Eclipse

后端 未结 8 804
迷失自我
迷失自我 2020-12-31 08:27

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

相关标签:
8条回答
  • 2020-12-31 08:53

    I have had this happen before with Eclipse and the various SVN plugins that it supports. The SVN plugin, for some reason, sometimes looses the SVN connection. Your best bet is to simply delete the project and re-check it out of svn. If you have changes that need to be committed you can use the command line.

    Another problem you may have is that your plugin and your repository are out of sync in terms of version numbers. I have had problems before using a plugin designed for svn 1.6.x and a repository that was still at svn 1.4 or 1.5.

    0 讨论(0)
  • 2020-12-31 08:56

    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:

    SVN preferences in Eclipse

    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.

    0 讨论(0)
提交回复
热议问题