ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Walters <>
Subject RE: Feature question- expression in target if+unless
Date Wed, 13 Dec 2000 14:44:27 GMT
I gather you mean the complexity of ant, not my build process:-(

Perhaps I just don't understand ANT.  What is the recommended way to handle
something like a property with 3 values where the build process needs to run
different sets of tasks, or targets, depending on the value of the property?
It appears to me that ANT supports only properties which are set or unset.

Jay Walters

-----Original Message-----
From: Peter Donald []
Sent: Tuesday, December 12, 2000 6:57 PM
Cc: ''
Subject: Re: Feature question- expression in target if+unless

At 12:12  12/12/00 -0500, Jay Walters wrote:
>Has anybody brought up the question of providing support for expressions
>with properties in the if and unless attributes of the target tag?  I have
>some simple code to provide this which I'd be happy to pass along.

There has been a lot of discussion about this but generally the developers
do not want to see this added. The main reason is that it adds complexity
and opens the road to more complexity - things we want to avoid like the
plague ;)



| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |

View raw message