[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] checking out "trunk"

From: Gary McWilliams <gary_mcwilliams_at_lagan.com>
Date: 2006-04-12 18:17:13 CEST

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://<repo>/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
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
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 do seem to recall that something along these lines was discussed a
while ago, but I cannot for the life of me find that thread now.
 

The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may
be unlawful. Please immediately contact the sender if you have received
this message in error.
Received on Wed Apr 12 18:21:54 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.