ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: any while loop task for Ant ?
Date Sat, 08 Mar 2008 00:15:21 GMT
Z W wrote:
> Hi
> Is there a while loop task available in Ant ?
> ant-contrib doesnt seem to have it
> 

Ant is not a scripting | programming language ;-)
But if you need those stuff, simply use
<script .../> combined with a powerful scripting language
running in the Java VM via BSF (Bean Scripting Framework)
(Ruby,Beanshell,Javascript, Groovy ...) and implement your stuff
combined with accessing the ant api.

see =
http://ant.apache.org/manual/OptionalTasks/script.html

but beware of library dependendies =
http://ant.apache.org/manual/install.html#librarydependencies

BSF
http://jakarta.apache.org/bsf/
(J)Ruby
http://jruby.codehaus.org/
Beanshell
http://www.beanshell.org/
Javascript
http://www.mozilla.org/rhino/

Regards,
Gilbert



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


Mime
View raw message