ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pjdon...@cs.latrobe.edu.au>
Subject RE: [PATCH] New <case> task
Date Wed, 11 Oct 2000 02:28:22 GMT
>I am offering this task because I think it is a functionality that should be
>in ANTs core, and not be in some optional part of ANT that requires you to
>download extra stuff and learn extra languajes.
>
>I hope you agree with my point of view.

Well no not really ;)

If we are going to include case statements we may as well include if-else
statements as case is just a special case of if-else. And if we are going
to do that we may aswell add in looping. And if we are going to add looping
we may as well add ...

The term "the path to hell is paved with good intentions" or more pointedly
"the path to make/perl is paved with good intentions" is the reason why
this kind of thing will never make core. No one wants ant to end up like
java/xml version of make.

I do see the need for it - which is where I see the advantage for a
frontend to ant that does css/xslt/templating - but it is unlikely to make
core. Personally I think there is already some stuff in ant that should be
removed and I will lobby for it to be removed when I get some free time ;).
Some of complexity is due to legacy migrating apps and hopefully we will be
able to remove it come Ant2 without upsetting to many of the users.


Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message