Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 call task and dependencies - ID: 1077323
Last Update: Comment added ( ianm74 )

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
attribute.


Ian MacLean ( ianm74 ) - 2004-12-02 05:27

5

Closed

None

Ian MacLean

None

None

Public


Comments ( 2 )

Date: 2005-03-19 11:14
Sender: ianm74Project Admin

Logged In: YES
user_id=321872

fixed in cvs


Date: 2005-02-24 14:14
Sender: ianm74Project Admin

Logged In: YES
user_id=321872

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


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2005-03-19 11:14 ianm74
close_date - 2005-03-19 11:14 ianm74
assigned_to nobody 2005-02-09 05:56 drieseng