Author Login
Post Reply
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@(protected)
For additional commands, e-mail: user-help@(protected)