Bevan Arps wrote:

Depending on whether a target is defined or not I want to perform certain operations.


I don't know of any way to check to see if a particular target *is
going* to be called - but you can define a property to tell if it *has*
been run.


It's unnecessary to define a property. You can use the target::has-executed function, e.g.
<someTask ... if="${target::has-executed('someOtherTarget')}" />


Gary



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to