RE: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Bevan Arps
Marrill Cornish wrote: > We could add a new "stmt" attribute whose string value is an entire > XML element whose whole execution is to be conditionalized on "test" > attribute ... The down side of this is that the parsing of the XML within the statement attribute would need to be handled by the

Re: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Gary Feldman
Merrill Cornish wrote: Gary, What are the arguments in favor of not changing it? I can't think of any language that does not evaluate all arguments to a subroutine call because invoking that subroutine. NAnt is using XML elements much like subroutine That's not precisely correct. Every

RE: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Merrill Cornish
Tony, >>> individual clauses in a boolean expression are evaluated in the order they >>> are written. Clauses in an _expression_, yes. Arguments in a subroutine call, no. The languages I am familiar with evaluate ALL arugments before making the subroutine call. The order of evaluation may d

Re: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Merrill Cornish
Gary, >>> What are the arguments in favor of not changing it? I can't think of any language that does not evaluate all arguments to a subroutine call because invoking that subroutine. NAnt is using XML elements much like subroutine calls where all attributes are evaluated before the element p

Re: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Martin Gainty
It would be *helpful* if the expression evaluator actually paid attention to parenthesis to force expression evaluation Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, August 23, 2005 10:06 AM Subject: RE: [Nant-users] "if" attribute on mkdir ignored The ord

RE: [Nant-users] nUnit2 task: Remove from project

2005-08-23 Thread Tony_Bjerstedt
I encountered a problem with the task not long ago. I went to the nUnit web site, downloaded the latest version (2.2.2), built and tested my code using it and VS. I then tried to run the tests using the task and they promptly failed.  As it turned out, the latest version of nUnuit is not s

RE: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Tony_Bjerstedt
The order of evaluation for if and unless can go either way AS LONG AS it is well documented. I am not sure if the order of evaluation if discussed anywhere in the documents. Over the years I have worked with many C derived languages where the individual clauses in a boolean expression are evalua

Re: [Nant-users] "if" attribute on mkdir ignored

2005-08-23 Thread Gary Feldman
Gert Driesen wrote: - Original Message - From: <[EMAIL PROTECTED]> ... ... BUILD FAILED C:\Projects\Eden4All\test.build(6,4): An empty string is not a valid value for attribute 'dir' of . ... The value of the if/unless attribute is not evaluated before the initialization of ot

AW: [Nant-users] nUnit2 task: Remove from project

2005-08-23 Thread Frank Striegel
I’m using the NUnit2 task for more than a year without any problems.   Frank   -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Bart Read Gesendet: Montag, 22. August 2005 09:45 An: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net Cc: