Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subclipse does not recognize my project as an SVN project

Tags:

subclipse

From SVN I checked out a "myproject" folder to my hard drive.
It happens to be an Eclipse project, so I imported it into Eclipse and I can work on it.

I have Subclipse installed and working as expected on other projects in the same Eclipse workspace.
But for some reason, "myproject" does not have the usual Subclipse controls like Team>Commit or the decorations.

Did I miss any obvious steps?

svn --version: 1.6.5 (r38866)
Subclipse: 1.6.6 Eclipse: jee-galileo-SR1-linux-gtk 20090920-1017

Here is what happens when I click Team>Share>SVN:

Subclipse Team Share http://img718.imageshack.us/img718/7308/screenshotsubclipse.png

Please note the root .svn folder.
On the command-line, SVN works in this folder.

like image 305
Nicolas Raoul Avatar asked Apr 09 '10 02:04

Nicolas Raoul


People also ask

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

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 know if SVN is installed in Eclipse?

Test SVN Repository in EclipseClick on the other option, scroll the menu, and Select SVN Repository Exploring. Now, we can explore the SVN repository.

How do you check a project in SVN?

In the IDE, open the SVN perspective: Window > Open Perspective > SVN Repository Exploring. Right-click in the SVN Repositories view and select New > Repository Location…. In the dialog, enter the URL for the SVN repository that contains the gles2-gears project, then enter your username and password. Click Finish.


2 Answers

Try right-clicking "myproject" and click Team / Share Project. It should ask you what type of repository, and when you move to the next screen it should indicate that it sees existing SVN/ directories at which point it should use that metadata to establish the link. It may also require that you have the SVN repository set up (in the SVN Repositories perspective).

like image 171
Rob Tanzola Avatar answered Sep 21 '22 01:09

Rob Tanzola


You can also remove the project (don't delete contents) and import it as existing project again.

like image 44
Paul Bußmann Avatar answered Sep 23 '22 01:09

Paul Bußmann