On Fri, Mar 19, 2010 at 8:36 PM, Peter Donald <[email protected]>wrote:

> > Parent projects have an implicit dependency on child projects for all
> > recursive tasks (e.g. clean, build, package, ...).
> >
> > For other tasks, there should not be any such parent-child dependencies
> > unless you wire them yourself.
> >
> > If you provide a more detailed example of what you're doing / trying to
> do,
> > we can probably help you further.
>
> I guess the way that Buildr work seems unintuitive to me.
>

I must not have been clear enough.

Let's take the recursive :clean task.  You have project Parent and project
Child.  The clean task of Parent (Parent:clean) depends on the child's
(Child:clean).   It does not depend on any other task.  Not on
Parent:package, not on Child:package.

The dependencies between tasks within a project are illustrated in
http://cwiki.apache.org/confluence/display/BUILDR/12+Things+to+Know+About+Buildr
.

alex

Reply via email to