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.
[email protected] 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:[email protected]]
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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Robert Kirkpatrick *Eridan* sprl
+32 486 236617 [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]