ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: Doing Ant builds
Date Fri, 12 Jun 2009 20:07:29 GMT
On Fri, Jun 12, 2009 at 2:58 PM, Michael Ludwig<milu71@gmx.de> wrote:
> Steve Loughran schrieb am 12.06.2009 um 11:49:48 (+0100):
>> we do strive to be more declarative than fully procedural languages,
>> we don't have loops and so lack full turing-equivalence. There are
>> also limits to what you can do in java
>
> I think I can take this to mean "in Ant extensions (written in Java)".
> So what are these limits?

I'm not sure there are that many limits to what you can do in one
task. If you add a <do-something> task and implement it in java, you
can do pretty much anything you want in there, as you have access to a
full and rich programming language and APIs. But one rarely writes a
one-off <do-something> task that takes no input, as it takes time to
design/code/test a task. People write tasks that are generally useful
and can be applied to various situations as parametrized by the tasks
arguments (attributes, nested elements, etc...). I'm not sure what
Steve meant when he wrote "There are also limits to what you can do in
java" in fact... --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message