Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Chris Fouts
Thanks Adam and Bob. From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Wednesday, February 29, 2012 1:45 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Nant has an if task that can check the values of properties. Then yo

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Bob Archer
Just call the 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 proj

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Adam Bruss
Nant has an if task that can check the values of properties. Then you can use the task to fail the build if a property matches some value. Use resultproperty of the exec task to get the return value of your build. if: http://nant.sourceforge.net/release/0.85/help/tasks/if.html fail: http://nan

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Chris Fouts
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

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Bob Archer
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.

[NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Chris Fouts
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