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 You can put more tasks within the
onsuccess and onfailure. MArk B. -----Original Message----- Can I specify more than
one target with “nant.onsuccess” and “nant.onfailure”? From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Castro, Edwin Gabriel (Firing Systems Engr.) Thanks Gert! I think this
is exactly what I needed! --Edwin From: Gert
Driesen [mailto:[EMAIL PROTECTED] Edwin, You can use the
"nant.onsuccess" and "nant.onfailure" attributes to specify
the target to execute when the build finishes (with or without failure). Hope this helps, Gert
|
RE: [Nant-users] Specifying a Finally target
Castro, Edwin Gabriel (Firing Systems Engr.) Wed, 26 Jan 2005 13:36:08 -0800
Title: Transactionality in NAnt
- RE: [Nant-users] Specifying a... Castro, Edwin Gabriel (Firing Systems Engr.)
- RE: [Nant-users] Specify... Butler, Mark A Mr IPI Gramm Tech
- RE: [Nant-users] Specify... Castro, Edwin Gabriel (Firing Systems Engr.)
- RE: [Nant-users] Specify... Castro, Edwin Gabriel (Firing Systems Engr.)
- RE: [Nant-users] Specify... Castro, Edwin Gabriel (Firing Systems Engr.)
- RE: [Nant-users] Specify... Castro, Edwin Gabriel (Firing Systems Engr.)