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

Re: Sharing one project with several other projects

From: William Nagel <bill_at_stagelogic.com>
Date: 2006-02-02 19:19:58 CET

On Feb 1, 2006, at 6:23 AM, ALiX wrote:

> I'm working on developing a set of utility files for general use in
> my C++
> programming. This set contains for example reference counting
> pointers and
> special data structures that could be used in several different
> projects.
>
> I need a suggestion on a repository layout (or work flow) to enable
> several
> projects to use the utility project and still keep the distribution
> of the
> projects self-contained.
>
> Currently my repository layout is as follows:
>
> /Project1/
> trunk/
> branches/
> tags/
> /Project2/
> trunk/
> branches/
> tags/
> ...
>
>
> At the moment each project has its own set of utilities. For
> example the trunk
> of project1 looks like this:
>
> data/
> docs/
> src/
> utils/
> ...
>
> I would like all projects to use the same 'utils' and still be able to
> distribute the sources as a single self-contained package.

What you want is to use externals to link the utils directory into
the various projects. Take a look at the SVN book for more info:

http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

-Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 2 19:21:06 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.