"Marcus Haarmann" <marcus.haarmann@midoco.de> wrote on 06/09/2006 03:32:28
AM:
> I have had the same problem when I checked out the whole workspace using
an
> external tool (tortoise). In this workspace, which was then under SVN
> control itself (which it is not by default if you just check out
projects
> using subclipse, because only the projects are under source code control
> then).
> It seems to detect that the parent dir (your workspace) has a subversion
> link and this is confusing to subclipse.
> Delete the .svn information in your workspace dir (not the projects) and
the
> message should not occur.
> Or rebuild the workspace in a new location (not under SVN control) by
> checking out the projects in eclipse.
> Maybe someone could try to reproduce this and find the bug in subclipse
> which leads to this problem. Sorry, I have no time for this. I hope my
> description gives enough hints for the detection of the problem.
This is not a bug in Subclipse (or anything). It is just something that
happens when you setup your entire workspace as a Subversion working copy.
Which I would recommend that you not do. Basically, some Subversion
API's we use give us these other items that it knows about, but are not
part of Eclipse. So when we try to convert the String that Subversion
gave us to an Eclipse IResource we get back a null. It is impossible for
us to distinguish between the null being from a genuine error and this
situation where it really is not an error. So all we can do is report the
error. We have code in place so that you only get the error once per
Eclipse session. I'd say that is about the best we can do.
Since the main cause of the genuine null problem went away with Eclipse
3.2, as of Subclipse 1.1.0, we now just ignore the null and do not report
the error.
If you really want to fix the problem, I would suggest setting up your
workspace following these instructions:
http://svn.collab.net/subclipse/help/topic/org.tigris.subversion.subclipse.doc/html/advanced/wc-outside-workspace.html
This approach keeps the Eclipse workspace and Subversion working copy
separate from each other, which keeps things clean.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Jun 9 14:47:34 2006