Just call the <fail> task then. That will report a filed build.
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, February 29, 2012 12:05 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail
condition?
I build TWO projects in one nant.build project file, say project1 and project2,
that share a LOT of common files; hence, for NOW, I want to keep it this way.
I do this
Set properties project1_ok=false and project2_ok=false
Build project1 and project2 shared files
If project1 and project2 shared files fail
Stop the build and report failure
Continue building project1-specific files
If project1-specific files build
project1_ok=true
Continue building project2-specific files
If project2-specific files build
Project2_ok=true
nant_pass_fail_property = project1_ok AND project2_ok
So if either project1_ok or project2_ok is false, I want ccnet to report a
failure.
Make sense?
-chris
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Wednesday, February 29, 2012 11:51 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Nant property passed to CC.NET for pass/fail condition?
I expect it is the return value sent from nant.exe and that you can't modify
it. What are you trying to do?
BOb
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, February 29, 2012 11:40 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?
What is the nant property that is set for CC.NET to report a pass/fail
condition? I assume I can modify this property? Is it nant.onfailure? Thanks!
-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.***
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users