On 3/15/07, Aidan O'Donnell <[EMAIL PROTECTED]> wrote:

I am using cruisecontrol to build a multimodule project.

The problem I am observing is that if projects A and B are checking in at
the same time and B depends on A the order that they are built in is not
set.
This means that if B builds before A then the build will fail.

I have had a look for ways to manage the ordering of dependencies - one
thing I was thinking would be to get the bootstrapper to build A before B
(not nice).
The other thing I was thinking would be to do a complete build for the
project each time and that way get Maven to manage the ordering through
the
parent POM (could be a timely process).

Any suggestions?


I know the idea will seem strange, but there is a plugin [1] for cruise
control allowing to  make cruise dependencies aware, based on Ivy. Since Ivy
is able to parse maven 2 poms, it may be usable in your case. The problem is
that the plugin (IvyCruise) is not really maintained any more, and that Ivy
pom parsing is not always perfect (but improving), so do not expect it to be
an out of the box solution.

My 2c.

- Xavier

[1] http://www.jaya.free.fr/ivycruise.html

Aidan

_________________________________________________________________
Solve the Conspiracy and win fantastic prizes.
http://www.theconspiracygame.co.uk/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to