1 message in com.canoo.lists.webtest[Webtest] Ant Task for Jetty Web Server
FromSent OnAttachments
etienne studer15 Feb 2004 10:16.zip
Subject:[Webtest] Ant Task for Jetty Web Server
From:etienne studer (etie@canoo.com)
Date:02/15/2004 10:16:12 AM
List:com.canoo.lists.webtest
Attachments:
JettyAntTask.zip - 9k

Hi

The attached Jetty ANT task might be helpful: it allows to start and stop an instance of the Jetty web server. You can configure port, context, and resource path.

The attached ANT task comes with a build file example that shows how to start the Jetty web server, execute the webtests, and then stop the web server again (adapt the paths to your needs). You just have to integrate your webtests file properly.

Note: my current implementation only allows to configure Jetty to provide static resources (static html, gifs, pdfs, etc.). Of course, Jetty itself can be configured in many more ways.

You can get the free Jetty java web server as a jetty.jar at http://jetty.mortbay.org/jetty/index.html.

Feel free to use it and to add more functionality.

Etienne

*************************************************** Etienne Studer Canoo Engineering AG Kirschgartenstrasse 7 CH-4051 Basel Tel +41 61 228 9468 Fax +41 61 228 9449 mailto:etie@canoo.com http://www.canoo.com

ULC - Grant your Servlets a Swing Look&Feel http://www.canoo.com/ulc

Canoo.net - Explore our 3'000'000 word dictionary http://www.canoo.net ***************************************************