ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alan brown <>
Subject Re: Running Ant from a web page
Date Mon, 15 Dec 2003 17:45:23 GMT
(With the caveat that I haven't tried it...)
The simplest thing I can think of...
As Ant is a java tool, you should be able to call the class directly from your servlet.  You
could also write a custom task to write the results to a file and then forward your servlet
to a JSP that includes that file in its page.

David Balch <> wrote:

Can anyone suggest ways of running an Ant target from a webpage, ideally
being able to send data back as part of an HTML page as well (perhaps using
the echo task)?


David Balch. | Web developer.
T: +44 (0)1865 286932 | Technology-Assisted Lifelong Learning.
F: +44 (0)1865 286922 | University of Oxford.

TALL, OUDCE and the University of Oxford accept no legal responsibility for
the contents of this message. Any views or opinions presented are only those
of the author and not those of TALL, or OUDCE, or the University of Oxford.
If this email has come to you in error please delete it and any attachments

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message