Newbie question: single project spanning multiple repository locations

2007-02-26 Thread Dirk . Moebius
Hi,

we have an older project that -unfortunately- spans multiple repository 
locations:

scm:svn://ourserver.com/repositories/ABRAHAM/basis/trunk/
scm:svn://ourserver.com/repositories/ABRAHAM/dev/trunk/
scm:svn://ourserver.com/repositories/ABRAHAM/access/trunk/
scm:svn://ourserver.com/repositories/ABRAHAM/hwm/trunk/

The main build file build.xml resides in basis/trunk. Before the build can 
beding, all 4 trunks must be checked out to 4 different directories side 
by side: basis/, dev/, access/ and hwm/.

How can I define a single Continuum project for this kind of setup?

Thanks, in advance,
Dirk.



Antwort: Re: Newbie question: single project spanning multiple repository locations

2007-02-26 Thread Dirk . Moebius
Thanks a lot, Jo. I'll give it a try.

 You will get 4 artifacts (jars probably) representing each trunk (if 
they
 are seperately compilable)..

well, not yet, but we're working on it...

Regards,
Dirk.


Jo Vandermeeren [EMAIL PROTECTED] schrieb am 26.02.2007 
22:25:55:

 hi Dirk,
 
 You need to define each repository location as a maven module in a
 pom-packaged parent project.
 
 Once you've done this, you could add the pom to continuum and it will 
create
 5 entries: 1 for each trunk and 1 for the parent.
 You could easily setup continuum to enable recursive builds. This will
 trigger the builds of the child modules when the parent module gets 
built.
 But then you'll probably want to remove the continuum entries for the 
child
 modules.
 
 This is very easy, because it's the default maven behaviour..
 Continuum adds by default the non-recursive flag to a project build,
 because otherwise the child modules would be built twice.
 
 You will get 4 artifacts (jars probably) representing each trunk (if 
they
 are seperately compilable)..
 
 Here's some information on enabling a recursive build:
 http://maven.apache.org/continuum/faqs.html#build-entire-project-
 recursively-from-parent
 
 Good luck
 Jo
 
 
 On 2/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Hi,
 
  we have an older project that -unfortunately- spans multiple 
repository
  locations:
 
  scm:svn://ourserver.com/repositories/ABRAHAM/basis/trunk/
  scm:svn://ourserver.com/repositories/ABRAHAM/dev/trunk/
  scm:svn://ourserver.com/repositories/ABRAHAM/access/trunk/
  scm:svn://ourserver.com/repositories/ABRAHAM/hwm/trunk/
 
  The main build file build.xml resides in basis/trunk. Before the build 
can
  beding, all 4 trunks must be checked out to 4 different directories 
side
  by side: basis/, dev/, access/ and hwm/.
 
  How can I define a single Continuum project for this kind of setup?
 
  Thanks, in advance,
  Dirk.