Re: svn switch and checking out to an external working folder
From: Rob Jose <rjose89_at_comcast.net>
Date: 2004-08-10 19:44:11 CEST
1) After I branch, I can not figure out how to switch my project to use the new branch. For example, I have a plugin called Administrator. I have branched it to another location so I can do some changes without bothering anyone else. I noticed that subversion has a command called switch that will point my working directory to the branch. Does subclipse have the capability to do this? If not, what are other doing in this situation?
You could always try the command line - svn switch. Type "svn help switch" for more info.
True, I could use the command line, but shouldn't subclipse have the option someplace. I would think that subclipse would be able to do all of the commands that you can do from the command line. What I would really like to do is to do a branch from subclipse, and then tell subclipse to update from the branch instead of updating from the trunk. Does this make since? Maybe I am too use to VSS and what I am saying is not the correct work flow. If that is the case, can someone tell me what the correct work flow is?
2) I have tried to add a project using the "Add As..." option and point to an external working directory. I keep getting an error. Is it possible to add a project to an external working directory?
Create a new Eclipse project, clear the "use default" check box and type in the path to your working copy. Once it has been created, right-click on the project in the Navigator window, go to Team->Share Project... Choose SVN as your provider, wait for Next > to be enabled and click it. You should get a window showing that Subclipse has spotted the existing SVN information, and you just need to accept this all and it should be fine.
If you have already created the Eclipse project externally, use Import rather than New Project; otherwise the procedure is the same.
This is an archived mail posted to the Subclipse Users mailing list.