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

Re: Share some files between projects.

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-06-23 13:05:12 CEST

Stanislav Spiridonov wrote:
> I have the following problem: the same source code must be shared
> between two projects. One is standalone jar and an another is plugin for
> eclipse.
[...]
> All content of those projects must be different except 'src' folder. Any
> changes inside 'src' folder must influence on both projects. So if I add
> new file into src folder (or it's subfolder)of Standalone project the
> same class must appear in the Plugin project. If I update some file in
> Plugin project (also inside src) this update must appear in Standalone
> project too.

This is exactly what svn:external does, read it up in the book.

Other than that, I'd suggest rather putting both projects into the same
directory. The reason is that changes made by one project only become visible
once checked in, and that may already be too late to test them with the
other...

just my 2cc

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 23 13:04:39 2005

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.