As they say, more than one way to skin a cat. ;)

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 2:27 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

I created a foreach loop to call all my targets, and this worked too.

-chris

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 12:47 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

You're welcome.

You may just want to use the call task.

<call target="Target1"/>
<call target="Target2"/>
<call target="Target1"/>
<call target="Target3"/>





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 11:13 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

Thanks.

From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov]
Sent: Tuesday, June 21, 2011 11:04 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling a dependency twice?

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