Re: [NAnt-users] Evaluation of if and unless

2006-08-01 Thread Bonio Lopez
en fileset was created include.text was false ->fileset will be empty. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: Montag, 31. Juli 2006 17:59 To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Evaluation of if and

Re: [NAnt-users] Evaluation of if and unless

2006-07-31 Thread Gary Feldman
Gert Driesen wrote: > ... >>> >> What's the issue with this? This problem comes up often enough. The >> intuitive sense of the if and unless attributes is that they should >> always be evaluated first, and if the result is to skip the task, then >> absolutely nothing else should happen - no other

Re: [NAnt-users] Evaluation of if and unless

2006-07-28 Thread Gert Driesen
- Original Message - From: "Gary Feldman" <[EMAIL PROTECTED]> To: Sent: Thursday, July 27, 2006 1:31 AM Subject: Re: [NAnt-users] Evaluation of if and unless > Gert Driesen wrote: >> From: "Bonio Lopez" <[EMAIL PROTECTED]> >> Sent: Tues

Re: [NAnt-users] Evaluation of if and unless

2006-07-26 Thread Gary Feldman
Gert Driesen wrote: > From: "Bonio Lopez" <[EMAIL PROTECTED]> > Sent: Tuesday, July 25, 2006 6:37 PM > ... > > Another solution for your problem would be to skip initializing > tasks/elements if the value of the "unless" attribute evaulates to true (or > the value of the "if" attribute evaluates

Re: [NAnt-users] Evaluation of if and unless

2006-07-26 Thread Gert Driesen
- Original Message - From: "Bonio Lopez" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 6:37 PM Subject: [NAnt-users] Evaluation of if and unless > Hi, > 1. > Following code returns a error: > An empty string is not a valid value for attribute &#

[NAnt-users] Evaluation of if and unless

2006-07-25 Thread Bonio Lopez
Hi, 1. Following code returns a error: An empty string is not a valid value for attribute 'output' of . The workaround would be Is it a supposed behavior and if yes, then what is the recommended approach to avoid the execution of test.outputfile="". 2. Sometimes I use targets to accomplish a