Hi Marie-Laure, it sounds like you are you are trying to use the force build publisher [1] to define dependencies on your project in a way that dependencies should be built before the projects build is starting. That's why you tried to put it in the prebuild section i guess...
The name publisher indicates that you should place the force build publisher in the publisher section. Publishers are called after the build of a project is finished to "publish the results". So the force build publisher forces a build on another project after the project that uses the publisher has finished. It also works the other way around, but then you need to use a trigger. Triggers define conditions for when a project should start integration. To force a build on a project after another project has finished successfully the project trigger [2] exists. Using the multi trigger [3] you can combine several project triggers (and other triggers) to define conditions for when a project should be build depending on other projects. I hope that was clear enough... regards, Daniel [1] http://confluence.public.thoughtworks.org/display/CCNET/ForceBuildPublisher [2] http://confluence.public.thoughtworks.org/display/CCNET/Project+Trigger [3] http://confluence.public.thoughtworks.org/display/CCNET/Multiple+Trigger mlleborgne <[email protected]> wrote: > > Hi > > I would like to build a project before building another one (multiple > dependant projects). > I'm using the Prebuild section, and I have added a ForceBuildPublisher > task in this section in order to follow correctly the build with the > dashboard. > > But the ForceBuild is never called in the Prebuild section. > > Project1 > Project2 (first build Project1, then Project2) > Project3 (first build Project2, then Project3) > > So, if I want to build Project3, the Project1 is built first, then > Project2, and then Project3. > > > The Prebuild section was the ideal solution. Perhaps, I have forgotten > a parameter. > If this option doesn't work, how can I do to build my dependant > projects ?? > > > Thanks for your help. > Marie-Laure
