[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 make Subclipse aware that a project is SVN managed?

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-07-31 15:17:27 CEST

johann.petrak@gmail.com wrote on 07/31/2006 06:58:40 AM:

> Back to the start here :(
>
> I added another directory to Eclipse with Subclipse 1.0.3 installed and
it
> was NOT recognized as
> being managed by subversion.
> There is a .svn directory in that directory I added, I added it as
ordinary
> Java project
> (not existing ant buildfile) and I did it several times. Nothing.
>
> This is extremely frustrating. I think this is the #1 way of adding
existing projects
> to Eclipse with the expectation to get Subclipse take care of the
existing
> Subversion information automatically and it does not work.

I do not understand what you are doing. What do you mean when you say you
"added a directory to Eclipse"? Take a step back and try to describe your
problem as a step by step recreation scenario. I would say there are
three standard use cases for adding a project to Eclipse/Subclipse:

1) Project exists in Subversion repository and you use Subclipse to
checkout the project into your Eclipse workspace.

2) Create New Project in Eclipse that you want to add to your repository.
You use Team -> Share Project to start this process.

3) Similar to #1, except project has already been checked out to some
folder using svn command line or some other svn client. Project is added
to Eclipse by using File -> Import -> Existing Project into Workspace.
When you do this on Eclipse 3.1 or higer, we automatically recognize the
.svn folder and connect it to Subclipse. Otherwise, doing Team -> Share
Project will recognize the .svn folder and offer to connect it.

When doing #3, the root folder that you are importing has to contain the
.svn folder. Here are some links to the documentation. This is also
available in the Eclipse Help system:

Importing Existing Project into Workspace:
http://svn.collab.net/subclipse/help/topic/org.tigris.subversion.subclipse.doc/html/advanced/wc-outside-workspace.html

Share New Project:
http://svn.collab.net/subclipse/help/topic/org.tigris.subversion.subclipse.doc/html/gettingstarted/importing.html

Share Existing Project:
http://svn.collab.net/subclipse/help/topic/org.tigris.subversion.subclipse.doc/html/gettingstarted/share-existing.html

Checkout:
http://svn.collab.net/subclipse/help/topic/org.tigris.subversion.subclipse.doc/html/gettingstarted/checkout.html

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Jul 31 15:17:42 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.