ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: http request handling
Date Thu, 25 Mar 2010 05:27:27 GMT
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 choice.


Jan


> -----Ursprüngliche Nachricht-----
> Von: Robert Kirkpatrick [mailto:robert.kirkpatrick@skynet.be] 
> Gesendet: Mittwoch, 24. März 2010 19:17
> An: Ant Users List
> Betreff: Re: http request handling
> 
> I imagined that the ant plugin fulfilled the Jetty slogan 
> "Don't deploy 
> your application in Jetty, deploy Jetty in your application".
> I still believe this has a potential.
> 
> Regards,
> Robert.
> >
> > Adam Leggett (UPCO) a écrit :
> >> It doesn't turn Ant into Http server AFAIK. It simply allows you to
> >> deploy a web app to a jetty server as part of your build process.
> >>
> >> If you are wanting to process form posts with Ant in some way, by
> >> passing the content to some targets/tasks, then embedding 
> it is probably
> >> the way to go.
> >>
> >> Leafcutter (https://leafcutter.dev.java.net/) might help 
> you with that.
> >>
> >>
> >>
> >> On Wed, 2010-03-24 at 17:13 +0100, Robert Kirkpatrick wrote:
> >>   
> >>> My expectation in the ant-jetty plugin is to turn ant 
> into a http server 
> >>> so that incoming requests could be handled in ant.
> >>> Robert.
> >>>
> >>> Jan.Materne@rzf.fin-nrw.de a écrit :
> >>>     
> >>>> What is "http handling"?
> >>>> Do you want that Ant does the OUTGOING request or 
> handles the INCOMING request? 
> >>>>
> >>>> outgoing: 
> >>>> - <get> core task
> >>>>   http://ant.apache.org/manual/CoreTasks/get.html
> >>>> - http antlib
> >>>>   http://svn.apache.org/repos/asf/ant/sandbox/antlibs/http/
> >>>>   
> http://svn.apache.org/repos/asf/ant/sandbox/antlibs/http/trunk
> /docs/http-antlib.html
> >>>> - external antlibs ...
> >>>>
> >>>>
> >>>> incoming:
> >>>> Ant itself is not a HTTP server. But (as Adam has 
> written) you could start one.
> >>>>
> >>>>
> >>>> Jan
> >>>>
> >>>>
> >>>>   
> >>>>       
> >>>>> -----Ursprüngliche Nachricht-----
> >>>>> Von: Robert Kirkpatrick [mailto:robert@eridan.net] 
> >>>>> Gesendet: Mittwoch, 24. März 2010 15:06
> >>>>> An: Ant Users List
> >>>>> Betreff: Re: http request handling
> >>>>>
> >>>>> How do I get html form input values into, say, ant properties?
> >>>>>
> >>>>> Adam Leggett (UPCO) a écrit :
> >>>>>     
> >>>>>         
> >>>>>> Use the <java> task maybe?
> >>>>>>
> >>>>>> <java jar="${jetty.home}/start.jar" fork="true" 
> dir="${jetty.home}">
> >>>>>> [...]
> >>>>>> </java>
> >>>>>>
> >>>>>> On Wed, 2010-03-24 at 14:06 +0100, Robert Kirkpatrick wrote:
> >>>>>>   
> >>>>>>       
> >>>>>>           
> >>>>>>> Is there a task supporting the handling of *http requests

> >>>>>>>         
> >>>>>>>             
> >>>>> *with *ant*, 
> >>>>>     
> >>>>>         
> >>>>>>> using an embedded http server like *jetty*?
> >>>>>>> Seen the good work of Jakub Pawlowicz on the ant jetty 
> >>>>>>>         
> >>>>>>>             
> >>>>> plugin, but no 
> >>>>>     
> >>>>>         
> >>>>>>> answer to my basic question...
> >>>>>>> Has anyone tried that?
> >>>>>>> Tx,
> >>>>>>> Robert
> >>>>>>>
> >>>>>>>
> >>>>>>>         
> >>>>>>>             
> >>>>> 
> ---------------------------------------------------------------------
> >>>>>     
> >>>>>         
> >>>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>>>>>> For additional commands, e-mail: user-help@ant.apache.org
> >>>>>>>
> >>>>>>>     
> >>>>>>>         
> >>>>>>>             
> >>>>> 
> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>>>> For additional commands, e-mail: user-help@ant.apache.org
> >>>>>
> >>>>>
> >>>>>     
> >>>>>         
> >>>>   
> >>>>       
> >>
> >>
> >>   
> >
> > -- 
> > Robert Kirkpatrick 	*Eridan* sprl
> > +32 486 236617 	robert@eridan.net
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message