ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: script documentation
Date Wed, 31 Oct 2001 11:00:14 GMT
----- Original Message -----
From: "Markus Kohler" <kohler@cms.tecmath.de>
> I wonder if it wouldn't be possible to support defining new Tasks just
using
> Java script(or any other supported scripting language).
> I think that could be a very powerfull feature.

You could define a <script> "task" within a standalone target (i.e. no
depends clause) and <antcall> to it - which would in effect allow you to
have re-usable script code that could be used just like a Task.

So the power is there!

Now just share anything slick you can do with it, as I've only seen useful
one-liners in <script>.

    Erik




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


Mime
View raw message