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

[Subclipse-users] Cannot switch if project not in workspace

From: Brad Dompe <bdompe_at_hotmail.com>
Date: 2006-05-19 17:15:23 CEST

My Dev setup is: Eclipse 3.1.2 running on Windows 2000, workspace under
C:\Documents and Settings\bdompe, with drive F mapped to a Solaris box that
has a dev folder containing my projects. We’re using CVS but I am
attempting to switch to a Subversion 1.3.1 repository and Subclipse 1.0.1.
I’m required to keep Eclipse on Windows and source on Solaris, so that can’t
be altered.

My problem is that I cannot create a switchable project unless I create it
in the workspace.

First, I used Tortoise to check out a project to F:\dev\myapp. I then
started Eclipse and used the instructions in the Subclipse help file for
connecting an existing project. It appeared to work. I can do statuses,
updates, commits, etc. If I try to switch though, I get the following error
in a dialog:

“Org.tigris.subversion.javahl.ClientException: Obstructed update svn: Won’t
delete locally modified directory ‘F:\dev\myapp’ Left locally modified or
unversioned files.”

I then deleted that and tried checking out the project using Subclipse,
again following the steps in the help file. F:\dev\myapp is created and
everything appears to work,except switch. I get the same error message.

In both cases, TortoiseSVN switch works.

Next, I created a workspace folder on F (F:\workspace), switched Eclipse to
use it, and under Solaris I created a symbolic link from workspace\myapp to
dev\myapp. I then repeated the Tortoise checkout and subclipse steps. The
same issue occurs.

Finally, I checked out a new project using Subclipse, putting it in the
workspace (workspace\myapp). That works. I can switch without issue. I also
tried checking out the source to the workspace folder on my C:\ drive, even
though I can't use that approach. Switch works.

It seems like switch only works if I create the project in my workspace. If
it exists anywhere else, I can do all commands but switch. I also tried
doing a commit in each scenario, to verify that there are no modified or
unversioned files.

This seems like a bug, but any suggestions would be greatly appreciated.

To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri May 19 17:17:23 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.