score:147

Accepted answer

team->share project is exactly what you need to do. select svn from the list, then click "next". subclipse will notice the presence of .svn directories that will ask you to confirm that the information is correct, and associate the project with subclipse.

score:0

in case of svn servers you have to creating a central repository with all projects. the contents of the repository can be uploaded with the team/share command; in case of the subversive client it automatically runs a commit after the import, so you can upload your files.

this step cannot be circumvented in any way using a centralized version management system such as svn.

score:0

try this- close the project then open it. it links with svn automatically,if project was checked out from valid svn path.

score:1

i'm asked this question very frequently, if it's smart to use "share project..." if a eclipse project has been disconnected from it svn counterpart in the repository. so, i append my answer to this thread.

the svn-team option "share project ..." is totally fine for projects that exist in svn and in your eclipse workspace, even if the eclipse project is missing the hidden .svn configuration. you can still connect them. eclipse svn-implementation (subclipse/subversive) will verify if the provided svn http(s) source is populated. if yes, all existing files will be copied and linked (checked out in svn terms) to your very personal eclipse workspace.

word of caution:

  • do a backup if you depend on you local files. the svn implementation may vary its behaviour with every release.
  • if you have multiple projects encapsulated within each other, make sure you point the svn path to the correct local path.

regards, feder

score:1

i came across the same issue. i checked out using tortoise client and then tried to import the projects in eclipse using import wizard. eclipse did not recognize the svn location. i tried share option as mentioned in the above posts and it tried to commit these projects into svn. but my issue was a version mismatch. i selected svn 1.8 version in eclipse (i was using 1.7 in eclipse and 1.8.8 in tortoise) and then re imported the projects. it resolved with no issues.

score:1

i am using tortoise svn client. you can alternativley check out the required project from svn in some folder. you can see a .svn folder inside the project. copy the .svn folder into the workspace folder. now remove the project from eclipse and import the same again into eclipse. you can see now the project is now associated with svn

score:18

i just wanted to add that if you don't see team -> share project, it's likely you have to remove the project from the workspace before importing it back in. this is what happened to me, and i had to remove and readd it to the workspace for it to fix itself. (this happened when moving from dramatically different eclipse versions + plugins using the same workspace.)

subclipse not showing "share project" option on project context menu in eclipse


Related Query

More Query from same tag