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

RE: Re: Sharing a pre-existing project

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2004-07-09 13:01:32 CEST

Hi Mark, and all,

> Matt Cristantello <cristant@fstrf.org> wrote on 07/08/2004
> 02:52:02 PM:
>
> > Here's what I'm trying to do:
> >
> > 1. Create a project and import it into subversion (outside eclipse,
> > we're actually running a migration script from VSS to subversion).
> > 2. Check out the files in the project to a shared network location.
> > 3. Set up eclipse to use the shared network location as the
> project file
>
> > directory.
> > 4. Set up eclipse to share the project in the shared location into
> > subversion for use in doing updates, commits, etc.
> > 5. Repeat step 4 on multiple developers' PCs.
> >
> > I think the base of the problem is that I don't want to do
> an import
> > after sharing the project -- I just want to share the
> project and then
> > synchronize with the server. Subclipse seems to know what I
> want to do,
> > as I get a prompt to synchronize with the server, unfortunately
> > immediately after I click OK, the menu closes and the Team
> menu stays
> > in its unconfigured state (share project, apply patch).
> >
> > Does that make more sense?
> >
>
> Not to me.
>
> 1. So your projects have already been places in the
> repository in this
> step?
>
> If that is the case, you ought to be just defining your SVN
> repository in
> the SVN Perspective, you then browse the repository, pick
> your project and
> do a Check out. This populates the workspace and has you all
> connected up
> to go.
>
> So you shouldn't need steps 2-5. The Team -> Share option is
> designed to
> handle the scenario where you have created a brand new
> project in Eclipse
> and want to add it to Subversion to place it under source
> control and so
> other developers can then check it out to their workspace.
>
> Subclipse is modelled after the CVS integration so the online
> help for CVS
> within Eclipse would apply fairly well to Subclipse too.

I do what Matt describes all the time, and it works with Eclipse 3.0M7
(I can't live without my diffs...)

1. Check out
2. File->Import existing project
3. Team->Share Project

Subclipse spots that it's already under control and makes the link.

(However, I've got this memory that I might have tried it with 3.0M8 and
the first version of Subclipse that supported it, and it didn't work
there. I might be misremembering, however, and I haven't tried it
recently).

Cheers,

Ian Brockbank
Senior Applications Software Engineer
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
Received on Fri Jul 9 21:01:32 2004

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.