[Cruisecontrolrb-users] 1-1 project-archive mapping?
Johan Holmberg
holmberg at iar.se
Thu Apr 12 05:58:25 EDT 2007
Hi!
If I have understood things correctly in CC.rb, there is a 1-1 mapping
between "projects" and Subversion modules. For example the normal way to
add a project is a command like:
$ cruise add <name> -u <url>
I'm not sure how to use CC.rb for my situation where I don't have such a
direct mapping.
I have several Subversion modules that I need to checkout to a
sandbox-structure like:
SOMEDIR/moduleA # from http://HOST/PATH1/moduleA/trunk
SOMEDIR/moduleB # from http://HOST/PATH2/moduleB/trunk
SOMEDIR/moduleC # from http://HOST/PATH3/moduleC/trunk
My first thought was to create a special Subversion module "testABC"
that just contained a "Rakefile" for CC.rb to use, and then the needed
svn:externals to bring in moduleA, moduleB and moduleC as subdirectories.
But I guess that will make it impossible for CC.rb to detect that
something has happened in the Subversion archive. After initial setup
the testABC module will never change. The changes will be in moduleA,
moduleB and moduleC, hidden by the svn:external links.
A build in CC.rb also seem to be identified with the revision number. In
my scenario I have *three* different Subversion module, each with a
"latest revision" of its own.
I have tried to look for some configuration possibility to make my
current scenario work. But I have not found out how to do.
Is it possible? Or is there some other way to accomplish something similar?
/Johan Holmberg
More information about the Cruisecontrolrb-users
mailing list