List Info

Thread: Project within a project? Is this possible?




Project within a project? Is this possible?
user name
2007-10-23 03:07:01
Hello,

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.

Thank you,
- Jake

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribesubclipse.tigris.org
For additional commands, e-mail: users-helpsubclipse.tigris.org


Re: Project within a project? Is this possible?
user name
2007-10-23 07:11:31
On 10/23/07, Jake Conk <jake.conkgmail.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.blogspo
t.com/

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribesubclipse.tigris.org
For additional commands, e-mail: users-helpsubclipse.tigris.org


Re: Project within a project? Is this possible?
user name
2007-10-23 18:45:40
On 10/23/07, Mark Phippard <markphipgmail.com> wrote:
> On 10/23/07, Jake Conk <jake.conkgmail.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.blogspo
t.com/
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribesubclipse.tigris.org
> For additional commands, e-mail: users-helpsubclipse.tigris.org
>
>
Mark,

Thanks for your reply. I tried to set that property and
value but I
don't see it anywhere. I have the project checked out into
eclipse
already and I right clicked the Modules folder and clicked
Properties.
In the window that came up there was an option for
Subversion so I
clicked that and I see Path and Url but I can't change those
or any of
the properties that I see there.

Is this area I'm looking for somewhere else or am I supposed
to do
this on the server somehow?

Thanks,
- Jake

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribesubclipse.tigris.org
For additional commands, e-mail: users-helpsubclipse.tigris.org


Re: Project within a project? Is this possible?
user name
2007-10-23 19:00:12
On 10/23/07, Jake Conk <jake.conkgmail.com> wrote:
> On 10/23/07, Mark Phippard <markphipgmail.com> wrote:
> > On 10/23/07, Jake Conk <jake.conkgmail.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 for your reply. I tried to set that property and
value but I
> don't see it anywhere. I have the project checked out
into eclipse
> already and I right clicked the Modules folder and
clicked Properties.
> In the window that came up there was an option for
Subversion so I
> clicked that and I see Path and Url but I can't change
those or any of
> the properties that I see there.
>
> Is this area I'm looking for somewhere else or am I
supposed to do
> this on the server somehow?

Team > Show Properties is what you want.  Then Add
property.

-- 
Thanks

Mark Phippard
http://markphip.blogspo
t.com/

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribesubclipse.tigris.org
For additional commands, e-mail: users-helpsubclipse.tigris.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )