Just out of curiousity:

What would so bad introducing an "expression language"? 

After all, there's no need to express everything in (clumsy) XML just 
because
we are able to do so. I believe that an expression language, escpecially 
for
testing, would simplify Ant scripting considerably.

Wolfgang.




Stefan Bodewig <[EMAIL PROTECTED]> 
23-06-2006 05:54
Please respond to
"Ant Developers List" <[email protected]>


To
[email protected]
cc

Subject
Re: using multiple properties in the 'if' and 'unless' conditions






On Thu, 22 Jun 2006, Paul Mackay <[EMAIL PROTECTED]> wrote:

> Has the possibility of adding multiple conditions to the target 'if'
> and 'unless' attributes ever been considered?

Yes, but it hasn't come up often after Ant 1.4 ;-)

> Are there any reasons why this change would be a bad idea?

One of the reasons (and my main one) is that you'd soon need an
expression language since simple listing two properties isn't enough?
Does if="a,b" mean "either a is set or b" or "a is set and b"?

And then the example above doesn't work since "," is a legal character
inside of property names, as is " " or any other character.  There
could be a property named "a,b".

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to