ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg 'Cosmo' Haun <>
Subject RE: Ant calls from JSP
Date Wed, 05 Mar 2003 18:50:19 GMT
We call Ant from JSP by issuing a new java command.  Sample JSP attached.

Don't know if this is a best practice but we do it for all kinds of things
and it works ok.  The java startup time penalty is negligable because our
builds are huge. One problem is that only some errors are captured properly.
Others cause the page to hang with no explanation (usually happens only in
development, so we use file logging (-logfile) to get the output in this
case, or else just call Ant from the command line) Sample JSP attached.

Gregory Cosmo Haun
Architect, Interactive Development
Cenquest, Inc.


Learn more about Cenquest collaborative e-learning at

> -----Original Message-----
> From: ALIA-SC, David []
> Sent: Tuesday, March 04, 2003 2:02 AM
> To: Ant Users List
> Subject: Ant calls from JSP
> Hi,
> Has anyone already used ant calls through JSP pages ?
> Indeed, I want to be able to call ant scripts from my web 
> admin console; I
> can modify the JSP pages to achieve it but does anyone have 
> advice / best
> practices to do it ?
> Thanks
> David Alia
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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