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

Re: [Subclipse-users] More kvetching: Connecting existing project to existing repostiory failed on first try, succeeded after restarting eclipse?

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 10 Nov 2011 12:53:05 -0500

On Thu, Nov 10, 2011 at 12:48 PM, Dan Kegel <dank_at_kegel.com> wrote:

> Hi!
> I'm an old commandline user, familiar with the linux svn client
> and somewhat familiar with the microsoft visual c++ ide,
> trying to come up to speed on Eclipse.
> (I'm using Indigo Service Release 1, Build id: 20110916-0149,
> downloaded straight from eclipse.org, on ubuntu 11.10.)
>
> (An example of how difficult the transition is:
> in Windows, one double-clicks on a .prj or .sln file to open the ide
> on an existing project on disk;
> in Eclipse, the equivalent operation is
> - File / Import / General / Existing Projects Into Workspace /
> navigate to directory containing .project
> This took me a long, long time to figure out, even with google;
> the menus seem impenetrable and misleading. But then,
> so did Visual C++'s IDE when I first used it 15 years ago.)
>

OK, this is all about Eclipse IDE, not Subclipse though.

>
> The project I'm working on uses a dozen or so individually-checked-out
> projects. It's particularly painful to check out using the GUI,
> so I wrote a shell script to automate checkout using the commandline svn
> client,
> and am trying to open the project with eclipse such that
> eclipse recognizes that it's under svn's control.
>

If Subclipse was installed when you imported the projects they would have
been shared automatically. You also can select the parent folder of all
the projects and the Eclipse import dialog allows you to import all of them
at once.

3) This try was interesting - Team / Share / SVN warned me that the
> project already had .svn directories which this opeartion would
> destroy! On a hunch, I closed eclipse and opened it again.
> 4) Fourth try Just Worked.
>
> Has anybody else seen that transient "warning, this will destroy your
> .svn folders" warning?
> I haven't checked to see how reproducible it is yet.
>

The warning in #3 happens if the root of your project is not part of a SVN
working copy but child folders are. The entire project from the root has
to be a SVN working copy so it sounds like the warning had its desired
effect.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2877006
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-11-10 18:53:10 CET

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