Title: Transactionality in NAnt

I was thinking along the line of…

 

<property name=”nant.onsuccess” value=”target1” />

 

<target name=”target1”

            <call target="target2"/>

            <call target="target3"/>

</target>

 

Can you post your workaround for the edification of the uninitiated? (Me)

 

MArk B.

 

-----Original Message-----
From: Castro, Edwin Gabriel (Firing Systems Engr.) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 1:35 PM
To: Butler, Mark A Mr IPI Gramm Tech; [EMAIL PROTECTED] Sourceforge. Net
Subject: RE: [Nant-users] Specifying a Finally target

 

Like this:

 

<property name=”nant.onsuccess” value=”target1 target2 target3” />

 

I need to add targets dynamically at runtime. There’s no problem if nant doesn’t support this natively. The workaround is quite trivial and I’ve already implemented it. I was just wondering if nant already allowed for this.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Butler, Mark A Mr IPI Gramm Tech
Sent: Wednesday, January 26, 2005 12:09 PM
To: [EMAIL PROTECTED] Sourceforge. Net
Subject: RE: [Nant-users] Specifying a Finally target

 

You can put more tasks within the onsuccess and onfailure.

 

MArk B.

 

 

Reply via email to