Eclipse – in Subclipse: How to connect an existing workspace with an existing repository

eclipsesubclipse

I'm working in Eclipse 3.72, (Indigo) using Subclipse 1.6.18 to work with a SVN 1.6 repository. This is all running under Ubuntu.

I have a project that I forgot to disconnect from Subversion before I updated my Eclipse (I had been using Galileo) and all its parts – basically a total reinstall of Eclipse, Subclipse, etc. Now when I go to "Team" all I get is "apply patch".

Since the project has unsaved changes I want to reconnect to Subversion so I can commit them. This Stack Overflow Question appears to have an answer but I didn't understand the answer. (The "winning" answer also has a link to a thread, but the link doesn't go to a thread).

So how do I reconnect my project with subversion? Thanks in advance.

Best Answer

The following approach should work for git, svn and any other team provider:

  • If eclipse is not aware of your existing project, use File > Import > ExistingProjectIntoWorkspace

    -- The project should now appear in your workspace

  • If the Team provider is not configured, use "Project" > Team > ShareProject > SVN/GIT

    -- The "Project" > Team menu should now contain all the items you would expect


"Project > Share Project" might not be available. To add it go to "Window > Customize Perspective > Command Groups Availability" and select "Team"