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

Re: [Subclipse-users] Checking out subfolder of folder

From: Dan Falconer <dan_at_avsupport.com>
Date: 2006-07-18 15:31:31 CEST

On Friday 14 July 2006 4:06 pm, Denny Valliant wrote:
> You'll want to use svn:externals to do that. If you only needed the
> child directory, there would be no problem, but to selectively get
> subfolders the way you want, you gotta take an extra step or two.
>
> Check out what the Subversion Book says regarding externals.
>
> HIH!
>
> :DeN
>
> Hendrik Maryns wrote:
> > Hi,
> >
> > I have a question which, I could imagine, is a FAQ.
> >
> > I want to check out only one subfolder of a particular folder in the
> > repository. However, I cannot only check out that subfolder, I need the
> > parent too. So actually, I want to check out only part of a directory.
> > This does not seem to be possible, as Subclipse does not have something
> > like Check out into project.
> >
> > I could, however, outside of Eclipse, check out that folder with svn,
> > and can see it in Eclipse now, but unversioned. Is there no way to
> > connect this folder to the folder it is part of in the repository?
> >
> > Concrete:
> > in rep:
> > tags/
> > prototype/
> > de/uni_tuebingen/sfb/... my java project, with package/directory
> > structure
> > doc/ the javadocs
> >
> > I do not want to check out doc/, just to save space.
> >
> > So I created an empty Java project Prototype, and from the command line:
> >
> > svn co svn://localhost/tags/prototype/de
> >
> > This does as expected. Now in Eclipse I see
> >
> > Prototype/de/uni_tuebingen/
> >
> > But no Team information. I would like to query the revisions, however.
> >
> > Any hints?
> >
> > Thanks, H.
> > --
> > Hendrik Maryns
> >
> > ==================
> > http://aouw.org
> > Ask smart questions, get good answers:
> > http://www.catb.org/~esr/faqs/smart-questions.html

        I'm running Eclipse 3.1.1, with Subclipse 1.0.3. Running through the same
steps on my repository, then creating a new project in Eclipse, it actually
figures out that it's an SVN-controlled project, so I've got all the fancy
options on the "Team" menu.

        Also, if you go through the SVN Repository browser (much like Navigator),
where you can navigate to the folder you want, right-click, and select
"Checkout...". That would do the same thing as doing a checkout from the
command line, then creating the project in Eclipse, except that Eclipse
already understands it's an SVN-backed project.

Hope that helps.

-- 
Best Regards,
Dan Falconer
"Head Geek",
AvSupport, Inc. (http://www.partslogistics.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jul 18 15:38:27 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.