Gary McWilliams wrote:
> I have a repo with 2 svn projects (apologies if this is the wrong term
> to use) having the common trunk/branches/tags structure
>
> Working on "trunk" I have:
>
> http://<repo>/projA/trunk/eclipse.project1
> <http://%3Crepo%3E/projA/trunk/eclipse.project1>
> http://<repo>/projB/trunk/eclipse.project2
> <http://%3Crepo%3E/projB/trunk/eclipse.project2>
>
> What I want to do is create a workspace containing the eclipse
> projects eclipse.project1 & eclipse.project2 (in real-life there are
> many eclipse projects in each svn project).
>
> projA & projB (under trunk) have a set of "common" files that are
> different, but are both in a folder called "common" (NOTE these common
> folders are not eclipse projects)
>
> What I would like to do is:
>
> checkout projA/trunk/* into <my_workspace>/projA (and have all of the
> projA trunk eclipse projects in one place) and checkout projB/trunk/*
> into <my_workspace>/projB
>
>
> I don't seem to be able to work out how I do this (if it's even possible).
>
>
> If I open the svn repo perspective, I can pick
> http://<repo>/projA/trunk <http://%3Crepo%3E/projA/trunk> as a repo
> location. This shows me the list of eclipse projects.
> If I select all the projects, right-click and do "checkout", "checkout
> into the workspace as projects", then change the project location to
> "<workspace_location>/projA"; I get an error as follows:
> "Errors occurred in N out of N operations", for each eclipse project
> there is one line in the "details" panel of
> "Cannot create project to checkout to"
>
>
>
> I then tried another approach.
> I pointed the svn perspective at the repo location of
> http://<repo>/projA <http://%3Crepo%3E/projA>
> This shows me trunk, branches etc.
> I right-click on trunk and select "checkout" and then checkout trunk
> as a project (into <workspace>/projA).
> This gives me a new project in eclipse that wraps all the other projects.
> I Delete this project (keeping contents), go to the file system and
> remove the .project (and .classpath) files and restart eclipse.
> I then try to Import the "existing projects into workspace" but this
> now fails with an error of
> "Invalid project description.
> D:\dev\workspace-trunk\projA\eclipse.project1 overlaps the workspace
> location: D:\dev\workspace-trunk"
>
>
> So, I'm a bit stumped, any help appreciated.
I use the following approach:
1) Configure a single repository location, http://<repo>/
2) Browse this repository in SVN Repository Exploring Perspective up to
"projA/trunk/"
3) Right-click "projA/trunk/" and choose "Checkout..."
4) Select "Check out as a project in the workspace"
5) Repeat steps 2-4 for "projB/trunk/"
HTH,
Daniel Serodio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Apr 12 19:29:43 2006