#247 call task and dependencies

Ian MacLean

The call task now executes all dependencies of the
specified target by default and the Force attribute is
deprecated. However I think there is still a clear need
to be able to call a single target by itself without
cascading dependencies.

Without it you need to add dummy targets to fix up the
dependency chain -- like:

<target name="install" depends="install-windows,
install-linux" />

when it would be better to have the install target call
one and only one of the install-xx targets without
re-building their dependencies.

So I propose a "cascade" attribute ( as always feel
free to suggest a different name ) which defauts to
true ( the current behaviour ). Setting it to false
allows you to call a single target.

Its basically inverting the behaviour of the old Force


  • Gert Driesen

    Gert Driesen - 2005-02-09
    • assigned_to: nobody --> ianm74
  • Ian MacLean

    Ian MacLean - 2005-02-24

    Logged In: YES

    Any thoughts on adding the suggested cascade attribute ? It
    won't change current behaviour but will allow the explicit
    calling of a single target

  • Ian MacLean

    Ian MacLean - 2005-03-19
    • status: open --> closed
  • Ian MacLean

    Ian MacLean - 2005-03-19

    Logged In: YES

    fixed in cvs


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks