ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: [PATCH] New <case> task
Date Wed, 11 Oct 2000 07:59:14 GMT
----- Original Message -----
From: "Jose Alberto Fernandez" <JFernandez@viquity.com>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, October 11, 2000 3:01 AM
Subject: RE: [PATCH] New <case> task


> If we were to follow this line of thought to their last consequences,
> We should remove <available> because we should be doing that with scripts.
> I see no difference what so ever between setting a property based on the
> existance of a file or setting a property based on a value.

Hmm.. I think checking the existence of a file and/or resource with
java-script could be really hard (taking in acount that ant already handles
things like "how should this path be handled on the current OS").

> To me scripting is using a cannon ball to kill a fly. Why do I need to
have
> BSF installed and learn javascript, or netrexx or some other language AND
> download the interpreter for such language just to be able to make
decision
> based on a value.

If *you* will not need it someone else will for sure - there will be always
one functionality which is not / can not be handled by a system like ant,
for example if you would like to increment build-numbers and/or other things
which go in the direction of calculation/comparison.

Nico



Mime
View raw message