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

Re: [Subclipse-users] Project within a project? Is this possible?

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-10-23 14:11:31 CEST

On 10/23/07, Jake Conk <jake.conk@gmail.com> wrote:

> I have 2 projects that I maintain separately as separate svn
> projects... I checked out the first project with eclpse using the
> subclipse subversion plugin... now the problem is the second project
> is a module for the first project, how do I check out a sub project
> into the first project and keep them separate?
>
> This is an example of a directory structure I am trying to achieve...
>
>
> My Project --- Checked out from svn repo abc
> |
> Modules
> |
> +--- Project 2 --- Checked out from svn repo xyz
> |
> etc
>
>
> Notice how I want my second project checked out into the Modules
> folder of the My Project project.
>
> Is what I'm trying do make sense or is there another way to do this?
> Please let me know.

Subversion has a feature called svn:externals that you have to use.
In your example, it would involve setting this SVN property on the
Modules folder:

property: svn:externals
value: Project2 url://server/repos/path/to/Project2

Then when you checkout My Project, Subversion will also checkout
Project2 and put it in place.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Oct 23 14:11:42 2007

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.