Ben J. Christensen

Software Development and Other Random Stuff

Eclipse Galileo (3.5) and Subversion

Eclipse still does not ship with subversion support by default.

Here’s how I enabled it. Much easier than with Ganymede, but I still shouldn’t have to do this considering Subversion is used by 57.5% of the Eclipse users who responded to the recent survey.

See page 3 of http://www.eclipse.org/org/press-release/Eclipse_Survey_2009_final.pdf:

Subversion is the dominant Source Code Management system used by developers, with 57.5%.”

Anyways, the following screenshots show how to install it from “Help -> Install New Software”.

  • The first site “Galileo” is already included in Eclipse 3.5.
  • The second site is the following URL: http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/

Picture 4

Picture 3

Advertisement

Filed under: Tools

32 Responses

  1. ShawnS says:

    Thanks for the quick howto. just a suggestion, can you add the Subversive Connectors URL in plain text so that it can be copied and pasted in to Eclispe. It wasn’t in a drop down list so I had to add it manually.

  2. boyarsky says:

    Thank you Ben! The official site left something to be desired as far as instructions go. This worked perfectly.

    It would be nice if this was all one step like installing other plugins. But if it can’t be, helpful instructions are great!

  3. Louis Rose says:

    Thanks for the write up. This saved me quite a bit of effort!

  4. Peter says:

    Thanks for saving some hair! Every upgrade of eclipse is a real PITA these days! especially because of the lack of included SVN support. Other IDE’s manage this no problem, shame on eclipse/polarion for inflicting this on us!

    Thanks again!

  5. Steve says:

    Thank you!

  6. Nigel Westbury says:

    Even easier, you can skip the first step where you select Subversive SVN Team Provider. The SVN Connector plug-in that you install in the second step depends on this plug-in. Equinox-p2 is smart and installs dependencies for you (as long as it can be found in the list of repositories that you have configured). As Ben say, the first site (Galileo) is already in the list of repositories so the dependent plug-in is found.

  7. Decar says:

    Thank you!

  8. chand says:

    Hi Ben,

    I need your help it is very necessary, could you please let me know your email so can I send you the screenshots to give you the look of the problem. Basically it is related to flex and eclipse. Please please guide me how to escape from this scenario.

    Thanks in advance
    chand

    • Ben Christensen says:

      Hi Chand,

      I probably won’t be able to help you if it involves Flex, as I’ve never worked with that.

      I don’t have any special involvement in Eclipse other than being a user of it, so you should likely seek out forums or blogs directly related to Flex and Eclipse.

      Ben

      • chand says:

        After installing svn as above mentioned now I want to add it in my Flex perspective but it gives me this prompt.

        “SVN” cannot be made visible because all of its children are in unavailable command groups.

        How to resolve this issue.

        Thanks
        chand

  9. Justin says:

    Thanks for taking the time to document this Ben, much appreciated.

  10. craig says:

    Upgrading eclipse seems to unmark existing projects as SVN projects (on linux). My usual approach is to delete and re-create the project(s). The Help -> Subversive -> Migrate Projects option I gather is meant to do this for me but it simply does nothing. I recall the same issues happened when I last upgraded, that time to 3.4. If its useful – I’m using SVN 1.6 and SVNKit 1.3 (ie svn 1.6 compatible)

    Do you have an explanation why this happens? Why projects are “auto detected” as being SVN projects? And is there a simpler way to migrate projects than delete/re-create?

    cheers,
    craig.

    • craig says:

      ..typo.. should say ‘why projects are NOT “auto-detected”…’

    • Ben Christensen says:

      I didn’t have this issue. I always just install Eclipse as a new installation and then point it at the same workplace and it picks up all of the projects just fine.

      In other words, I’ve never done a Subversion Migration, I just open the workspace where the projects already exist.

  11. Claus Nielsen says:

    When doing the above I get this error :-(

    Can you help ?

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,org.eclipse.ant.ui,3.4.1.v20090901_r351
    No repository found containing: osgi.bundle,org.eclipse.cvs,1.0.300.v200909170800
    No repository found containing: osgi.bundle,org.eclipse.jdt,3.5.1.v200909170800
    No repository found containing: osgi.bundle,org.eclipse.jdt.apt.core,3.3.201.R35x_v20090818-0235
    No repository found containing: osgi.bundle,org.eclipse.jdt.apt.pluggable.core,1.0.201.R35x_v20090818-0225
    No repository found containing: osgi.bundle,org.eclipse.jdt.compiler.apt,1.0.201.R35x_v20090825-1530
    No repository found containing: osgi.bundle,org.eclipse.jdt.compiler.tool,1.0.100.v_972_R35x
    No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.5.1.v_972_R35x
    No repository found containing: osgi.bundle,org.eclipse.jdt.debug.ui,3.4.1.v20090811_r351
    No repository found containing: osgi.bundle,org.eclipse.jdt.doc.user,3.5.1.r351_v20090821-0800
    No repository found containing: osgi.bundle,org.eclipse.jdt.junit,3.5.1.r351_v20090708-0800
    No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.5.1.r351_v20090821-0800
    No repository found containing: osgi.bundle,org.eclipse.team.cvs.ui,3.3.201.R35x_v20090826-0905
    No repository found containing: osgi.bundle,org.eclipse.ui.views.log,1.0.100.v20090731
    No repository found containing: osgi.bundle,org.junit4,4.5.0.v20090824
    No repository found containing: org.eclipse.update.feature,org.eclipse.cvs,1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16
    No repository found containing: binary,org.eclipse.cvs_root,1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16
    No repository found containing: org.eclipse.update.feature,org.eclipse.jdt,3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ
    No repository found containing: binary,org.eclipse.jdt_root,3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ

    • Ben Christensen says:

      Sorry, I don’t know what that error is. You may want to start with a fresh install and re-try the steps from there.

      Or take a look at the link that Paul offers in his comment where he states that he needed to click “Test Connection” first:

      http://unlikelyteacher.com/2009/10/01/eclipse-galileo-and-svn-subversive/

    • erdinc says:

      Also I had a problem like this:
      “An error occurred while installing the items session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null –> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,org.eclipse.ant.ui,3.4.1.v20090901_r351 was not found.”

      the solution is:
      installing eclipse-pde eclipse-jdt
      my system is ubuntu jaunty eclise 3.5.1

      If anybody encounters same problem I hope this works

  12. Puneet Monga says:

    Thanks. It worked perfectly.

  13. Paul says:

    Great tutorial! But for me I had to click “Test Connection” first before any of the update sites started working.

    More details here on Eclipse Galileo and SVN: http://unlikelyteacher.com/2009/10/01/eclipse-galileo-and-svn-subversive/

    Thanks.

  14. Dan Donahue says:

    Thanks for saving me time, Ben.

  15. Aswathy says:

    Thank you !!!

  16. Zakir says:

    Thanks Ben. great help, it saves lot of time and headache. keep the good work continue

  17. Chris Lott says:

    Just use Subclipse, which is old but reliable. It’s the easy way to avoid the Polarion/subversive trainwreck entirely. Point Eclipse at this update site:

    http://subclipse.tigris.org/update_1.6.x

  18. [...] SVN, ma occorre scaricarlo ed installarlo manualmente. La seguente procedura la potere trovare a questo o questo [...]

  19. SamLaGraTTe says:

    Cheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeers!!!

  20. [...] et dernière étape : installer le plugin de client SVN sous Eclipse. La procédure ICI pour la version Galileo [...]

  21. vegtabill says:

    Thanks a million… working with Galileo (the current Eclipse in Ubuntu’s repos), this was beginning to turn into a headache! Polarion’s site is great if you’re current, but not so much if you’re >1 year behind.

  22. ritesh says:

    thanks…this was very useful…

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Twitter Updates

View Ben Christensen's profile on LinkedIn
Follow

Get every new post delivered to your Inbox.