Per documentation: 
(http://nant.sourceforge.net/release/latest/help/fundamentals/targets.html)
A target gets executed only once, even when more than one target depends on it


Brian Wilson
Department of Human Resources
Email: brian.wil...@dhr.alabama.gov<mailto:brian.wil...@dhr.alabama.gov>


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Tuesday, June 21, 2011 9:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling a dependency twice?

Nant version 0.91, Build 0.91.3081.0

For some reason, I'm not able to call a "depends" target twice. Here's what I 
mean. Say I have

<target name="all"
             Depends="TARGET1, target2, TARGET1, target3>
             <--! Do something -->
</target>

Nant executes TARGET1 before target2, and I expect it to execute TARGET1 
between target2 and target3, but it does NOT! Is this a feature or a bug?

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to