Eclipse Galileo and SVN support

Like many Java developers I had to take a look at Eclipse Galileo. My interest lie in how fast I can migrate from Eclipse Europa to new Galileo version.

Installation was as simple as in previous version. Extract an archive file to a directory. Simple eh ? Let’s see what will be broken. Upon first start Galileo tries to move my default workspace. Well I choose my old workspace and by some magic it was opened without problems. Or did it? Recompilation and reformatting took about a minute or two1. After that everything worked smoothly. Almost everything.  Project team collaboration vanished.

“GULP”, was my first reaction. CVS support is included, but who really uses CVS nowadays? So I found out that setting up SVN in Eclipse Galileo was not as simple as I thought it to be.

  1. Help->Install New Software
  2. Choose to work with Galileo – http://download.eclipse.org/releases/galileo
  3. Unfold Collaboration
  4. Choose Subversive SVN Team Provider (Incubation)
  5. I employ you to restart Eclipse and don’t use any plugin at this point since they will not work and you will get a message which is similar to this: 0x0040010b: Obtain Project Name’ operation finished with error: Selected SVN connector library is not available or cannot be loaded …’. Instead you rather install a connector library.
  6. Help->Install New Software
  7. Add a site
  8. I used: http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/ , but you can probably use any other that has SVNKit or JavaHL connector
  9. Unfold Subversive SVN Connectors
  10. Select Subversive SVN Connectors, SVNKit (1.3.0), JavaHL (1.6.0) and it’s native libraries.
  11. Restart Eclipse
  12. Configure SVN Connector by specifying the connector in Window->Preferences->Team->SVN->SVN Connector.

And there you have it. Eclipse Galileo with SVN support in all its splendor.

Reblog this post [with Zemanta]
  • Digg
  • StumbleUpon
  • Twitter
  • Facebook
  • MySpace
  • Google Bookmarks
  • del.icio.us
  • Reddit
  • Technorati
  1. it is a huge project tree I am working with []

You can follow any responses to this entry through the RSS 2.0 feed.


  •  
    On July 14, 2009 at 21:31 Jason said:

    THANK YOU!!! finally someone who actually explained how to install the damn connectors. I kept asking myself “now where do I tell it to look for the .jar files!?!”
    The instructions refer to the older Eclipse, and every part says “oh you have to install the connectors too” but nothing tells you how!

  •  

    Thank you! I guess it would be even better for the Eclipse team to create a package that users can install and get every possible connector there is … or maybe even choose to install one or two of them … ;)

  •  
    On July 22, 2009 at 17:26 Keya said:

    I am working on Linux system and I tried the above steps as mentioned. I have SVN (tigris subversion) installed, version 1.5.1. I selected the corresponding Native JavaHL (1.5) but not the corresponding win32 JavaHL binaries as I work on Linux. The installation completed successfully but when I am creating new repository the whole application hangs with ‘Operation in Progress’. Is there some other dependencies that I might need to install or I am not using the correct update site? Please let me know. Thanks.

    •  

      Linux has many distributions so you should check which distribution you have and try to google the answer. This topics could help you solve the problem:
      http://subclipse.tigris.org/wiki/JavaHL#head-bb1dd50f9ec2f0d8c32246430c00e237d27a04fe

      It could be that you need Linux binary libraries for it to work. You could choose to use SVN Kit connector. SVN Kit connector is not native code. It is written in Java and should work on any platform. You set it up by installing it and then change the connector setting in the Preferences:

      Window->Preferences->Team->SVN->SVN Connector-> in drop down choose SVN Kit
      .

      If you don’t have it in drop down than you need to install it. Repeat steps 8-10.

  •  

    I tried to follow these steps in Galileo, and unfortunately it didn’t work. I ended up installing Subclipse in order to be able to use SVN. I explained what I did in this post:
    http://www.flexthinker.com/2009/08/eclipse-galileo-and-subversion-on-os-x/

  •  
    On August 25, 2009 at 20:38 Steve said:

    I’m having trouble installing the connectors, when I try step (10) of your instructions, I get this error:

    Missing requirement: JavaHL 1.6.0 Win32 Binaries (Optional) 2.2.1.I20090708-1500 (org.polarion.eclipse.team.svn.connector.javahl16.win32.feature.group 2.2.1.I20090708-1500) requires ‘org.polarion.eclipse.team.svn.connector.javahl16.win32 [2.2.1.I20090708-1500]‘ but it could not be found

    …despite the fact that that’s precisely what I’m trying to intall!

    Any help much appreciated

  •  

    @Steve do you really need JavaHL Connector? It requires some JNI native libraries to which it needs access. I am guessing (can look it up tomorrow when at work) that there is a problem in finding those libraries. Have you tried installing SVNKit Connector. It is pure Java implementation and it should not give you any problems (regarding access to JNI libraries).

  •  

    @Steve: Check if you have subversion binaries installed on your computer. Default directory is: C:\Program Files\Subversion. If you don’t download Setup-Subversion-1.6.X.msi file from http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100 and install subversion binaries.

  •  

    Well, having used Eclipse 2.0 all the way through 3.3, and various versions of Subclipse since 2006, I foolishly tried to jump “2 at a time” and go straight to Eclipse 3.5. None of the SVN solutions (Subclipse OR Subversive, with SVNKit or JavaHL) worked, in fact the menus just dissappeared from my Window->Preferences->Team.

    I then went back to Eclipse 3.4 and lo and behold everything worked fine with subclipse – although the dependency management between plugins continues to leave a lot to be desired.

  •  
    On May 14, 2010 at 21:15 sid said:

    wow.. you are my hero.. i had all but given up this before i finally stumbled my way here..

    thanks a lot

  •  
    On June 6, 2010 at 14:53 2250lou said:

    Fantastic! Thank you so much for the help!

    I had struggled with this problem for some time and your suggestions fixed it.

  •  
    On July 22, 2010 at 13:32 Baker said:

    Thanks dude! I only took the SVNKit and it works fine too.

Support Us