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

RE: Newbie: Subclipse and repository layout

From: Greg Irvine <greg.irvine_at_thalesatm.com>
Date: 2005-02-14 22:46:39 CET

Aloys/Hugo.

The easiest solution is to select the "New Location" option when you share
your project, and specify the full path to trunk (or the branch if you may
be adding it to the branch).
i.e.
connect to the repository as you have done with
file:///e:/repositories/myproject
so that you can browse all tags, branches, trunk, etc.

then when you share choose new project and enter
file:///e:/repositories/myproject/trunk

It's that easy. And as usual once you've done it once it's stored in the
history of previously used paths and is accessible via the drop-down.

Hope it makes your life easier.

> It would be a nice feature to have subclipse create the trunk, tags and
> branches directories and automatically switch to trunk after you share a
> new project. Maybe somekind of "project template" feature?

I digress on this issue because the branches/tags/trunk is merely a
recommendation. How users organise their repository is completely up to the
user and I don't think the tools should force users to use a layout that may
not be applicable to their situation.

Greg.

-----Original Message-----
From: Hugo Visser [mailto:joegi@scene.nl]
Sent: Tuesday, 15 February 2005 5:55 AM
To: users@subclipse.tigris.org
Subject: Re: Newbie: Subclipse and repository layout

Hi,

I basically asked kind of the same question a few weeks ago. This is how
I do it now. When I share a project in Eclipse, I fill in the project
name as "module" name. Then when the module is shared, I create the
trunk directory using the svn repository browser. Then I use
team->switch to switch to the trunk. Then it's all in place. It's a bit
cumbersome, but it works for me.

The base url in my case is http://svn/repository since I create my
modules under http://svn/repository/module.
Each module has a /trunk /tags and /branches dir. So after the initial
team->share I switch to http://svn/repository/module/trunk.

It would be a nice feature to have subclipse create the trunk, tags and
branches directories and automatically switch to trunk after you share a
new project. Maybe somekind of "project template" feature?

Hope this helps,

Hugo

Aloys Oberthür wrote:
> I understand that I should layout my repository in a standardized way with
> /trunk, /tags and /branches Subversion-directories.
>
> Now if I do use (e.g.) a file:///e:/repositories/myproject/trunk URL when
> connecting to my repository in Eclipse I do not see the other directories
> (i.e. /tags and /branches), but if I do use the
> file:///e:/repositories/myproject URL I do not commit to the /trunk
> directory but to the 'top-level' URL when sharing the project and instead
> get the /trunk, /tags, /branches directories and a /myproject directory.
>
> How do I commit to /trunk and still do see the other directories in my
> repository.
>
> Thanks, Aloys
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Feb 15 08:46:39 2005

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.