ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: AW: http request handling
Date Thu, 25 Mar 2010 15:25:47 GMT
On 25/03/2010 05:27, wrote:
> Ant is a buildtool.
> Letting the build waiting for incoming HTTP requests will slow down the build and I dont
see any reason why.
> So could you please elaborate about your use case?
> - who will create the http request
> - what kind of request is it
> - what data in the requests
> - what should the 'handler' (Ant/something else?) do with that
> Maybe Ant is not the right tool for that ...
> E.g. if a request should start a build, the use of a CI server like Hudson is the better

you can use <waitfor> to block for data; getting the values in depends 
on the format. Me, I have servlets that push out .properties files

<waitfor maxwait="3" maxwaitunit="minute" checkevery="500">
         <http url="http://localhost/myapp/index.html"/>

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

View raw message