Bugs item #1906308, was opened at 2008-03-03 16:07
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1906308&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.86
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tomasz Kaszuba (tkaszuba)
>Assigned to: Gert Driesen (drieseng)
Summary: cascade attribute doesn't work with dynamic targets

Initial Comment:
In 0.85 this worked:

<call target="${generator.target}" cascade="false" />

but in 0.86-beta1 does not work so I need to do this to make it work:

<call target="${generator.target}" cascade="false" 
unless="${target::has-executed(generator.target)}"/>

which is a bit of a pain in the ass since I need to go in and change all my 
scripts. 

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2008-03-03 20:27

Message:
Logged In: YES 
user_id=707851
Originator: NO

Tomasz, this was actually a bug in NAnt 0.85. The fix is documented in the
release notes for 0.86 Beta 1.

The documentation clearly states that the target will be re-executed:

"When the <call> task is used to execute a target, both that target and
all its dependent targets will be re-executed."

The "cascade" attribute only affects whether dependent targets will be
re-executed.

Sorry for the trouble this causes for you, but I hope you understand that
this fix was necessary.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1906308&group_id=31650

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to