When I typically work with Subclipse, I begin my project doing a checkout. Today I added Subclipse to install of ColdFusion Builder where one of the projects was already pointing to a working directory. I expected, perhaps foolishly, that Subclipse would recognize the .svn folder and just - um - do it's thing. No joy. I happened to guess upon a working solution though and thought I'd share with others. Warning - I have yet to actually commit or update - but I did confirm that I could compare against the latest in the repository.
-
Right click on your project.
-
Select Team.
-
Select Shared Project.
This is the part I was most unsure of. I didn't want to share - the project was already shared. But Subclipse recognized that the project was already shared and noted that. I clicked the Finish button and then stood back.
Eclipse began to chew. And chew. Progress windows opened up and closed by themselves. After about 30 seconds or so the demonic possession seemed complete - but I still didn't have little funky graphics next to my files signifying their state. On a whim I tried a Refresh and that seemed to do the trick.
Hope this helps others.
Archived Comments
Ray, what OS are you on? Most of the time I check my projects out using TortoiseSVN in window (both XP and Vista), and subversion picks them up just fine in eclipse... now, I'm at version 3.5 of eclipse, but this worked in version 3.4 as well.
In this case it was Windows 7.
Maybe it's a funky permission issue? There's not really much to an .svn folder, is there? They all pretty much can stand alone, right? And subversion doesn't do anything different than a commandline or shell client would do... anyway, weird permission issue is getting my vote ;).
If it was permissions, I don't think my little fix would do it then.
Hi,
ok, it's a bit late. I just had the same issue and found your post while googling. I tried your solution. Was pretty nervous since it's a huge repository and hundreds of people work with it, plus my weekend is supposed to start soon. So, apparently Subclipse has been improved. It popped up a dialog box telling me that the project was already in Subversion and asked wether it should just connect my working copy to the repository. Yay! I still don't get why this has to be hidden in the Import workflow.
As an FYI, the same works with the Git plugin as well.
The "Share Project' option is disabled on mycase.
Any help please..
Sorry, I haven't used Eclipse in years.