Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reconnect Eclipse Project to SVN with Subclipse

Tags:

I've been using Subclipse to manage SVN projects in Eclipse 3.4.2. However, while installing a buggy plugin, Eclipse became so sluggishly unusable that I had to kill the process and restart. Unfortunately, even though I removed the buggy plugin, this appears to have destroyed Subclipse's links to all my SVN projects. The projects themselves are still there, but the "Team" context menu only shows "Apply Patch", and no SVN icon overlays are being displayed. Is there anyway to fix this, or do I have to delete and recreate all my projects?

like image 752
Cerin Avatar asked Nov 18 '10 13:11

Cerin


People also ask

How to sync existing project with SVN in Eclipse?

Select project and execute Team > Share Project. Select Subversive SVN provider in Share Project wizard and at the end you will be prompted to choose the SVN location. You can keep repository settings defined in project or reconnect to another repository.

How do I add an existing project to a SVN repository?

Give the project a name and click through to finish on the wizard. To import a project into the repository, right click the project you want to import and select Team > Share Project... from the context menu. This will begin the Share Project wizard. Select SVN as the repository type and click Next.

How do I reconnect my Team in eclipse?

Right click to Team and Share Project worked great. Used the default settings and everything synched right back up.

How to Share project in SVN?

You share your project when you have already been using SVN and you have an existing working copy in your workspace that you want to connect to SVN. Select any element of the model and choose File > SVN > Share... from the main menu. You will see the Share Project wizard.


1 Answers

If your project has the .svn directories (only the Eclipse integration 'has gone missing') you could try Team -> Share Project. In my workspace, Subclipse noticed the presence of the SVN folders and created the appropriate connection.

Edit: if you do not have the Share Project menu maybe the Eclipse installation 'got screwed'. If you do not have the Share Project menu in a newly created project and you do not see the SVN preferences under Preferences --> Team then you should re-install the Subclipse plugin.

If you do not have the Share Project menu only the projects you previously shared with SVN, than you should delete and recreate all your projects (in the delete do not delete the project contents and after the delete select File -> Import -> Existing projects into Workspace).

like image 60
Csaba_H Avatar answered Nov 04 '22 08:11

Csaba_H