Dear Ant developers,

We are using Ant for building, deploying and testing real large projects (>5 
Mio LOC). So our scripts became more and more complex workflow scripts instead 
of simple Ant-scripts.
I do strongly believe that the simple change of more complex (expression 
language like) if and unless statement would reduce the size and increase the 
readability of our scripts by far! 

Thomas

-----Original Message-----
From: Wolfgang Häfelinger [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 23, 2006 11:19 AM
To: Ant Developers List
Subject: Re: using multiple properties in the 'if' and 'unless' conditions

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]


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

Reply via email to