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

Re: [Subclipse-users] How to reorganize projects without losing decorations, Team menu, etc.?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 3 Dec 2010 10:31:18 -0500

On Fri, Dec 3, 2010 at 12:08 AM, Shaun Pinney
<shaun.pinney_at_bil.konicaminolta.us> wrote:

> I'm creating a new Eclipse project based on an existing SVN working copy.

What is it you are really trying to do here? If you create based on a
working copy then it will be pointed at same repository location. Is
that what you want? It is not clear. If you are just saying you have
an existing checkout on disk and want to create a project for it, then
yes sure. Subclipse supports that. Here it is in the docs:

http://help.collab.net/topic/org.tigris.subclipse.doc/topics/wc-outside-workspace.html

> The good news is that Subclipse recognizes my working copy after I import to
> the top-level project folder.  That is, I see the SVN decorations and have
> access to the Team context menu.  But, because there are many
> files/directories at the top-level after the import, I'd like to reorganize
> the layout to reduce the clutter.  The bad news is that every time I try to
> move a versioned file/folder in the Project, I get an error.  How can I do
> this?  Here's what I've tried so far.
>
> =================
> 1) If I create a new folder with the "Use default location" option I get
> this error when moving versioned files to the new folder:
>
> Move Problems:
> Problems occurred moving the selected resources
>
> Details:
> Problems encountered while moving resources.
>  org.tigris.subversion.javahl.ClientException: No such file or directory
> svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup'
> and try again
> svn: Can't open file '/home/asdf/.svn/tmp/entries': No such file
> =================

The stuff you ask about in #2,3 makes me think I do not understand
what you are doing in this step either. Have you tried doing Team >
Add to Version Control on the new folder before you move the items
into it? How are you moving the items?

> 2) If I create a new folder with the "Folder is not located in the file
> system (Virtual Folder)" option I'm unable to move any files when moving any
> files to the new folder (versioned or otherwise).  No error dialog appears,
> but no moves take place.  This appears to be solely an Eclipse issue.
> =================
> 3) If I create a new folder with the "Link to alternate location (Linked
> Folder)" option, and point it at the working copy, then Subclipse does not
> show decorations or provide access to the Team menu on the new folder.
> =================

Subclipse cannot support virtual folders or linked folders. Subclipse
is ultimately a GUI layer on top of the Subversion native libraries.
Those libraries work with your file system. They have no way to
understand or be aware of Eclipse-specific constructs that are not
represented in your actual file system. They can only work with a
single contiguous working copy.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2687590
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-12-03 16:31:28 CET

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.