Yeah, that probably would be possible for 2.8. My thoughts for the current use of Jetty was to create a class called TestContainer with a port, context name and WAR path for the constructor. It would also have start() and stop() methods. Then, in Ant we'd just fire it up with the test context.

Clearly, this would work in a "standalone" fashion too...

Murray, thanks for the offer of scripts, but I'm probably covered...

On Mar 20, 2008, at 17:01, Janne Jalkanen <[EMAIL PROTECTED]> wrote:

I'm also, in my copious free time, scheming about how we can use the tiny Jetty 5.1 server inside of Selenium to set up a captive web app server for web unit testing. The idea is to rip out the Tomcat dependencies in the Ant script and make web tests Just Work. Will require 3-4 small additional Jars, about 500k total. I'm about 1 day (effort, not elapsed time) from finishing.

This doesn't really matter for 2.6.2 proper, though. My ++1 still stands.

Hmm... Could this help also us in getting a *standalone JSPWiki installation out of the box*, perhaps using the afore mentioned Jetty as a base? If it doubles as Selenium test server, all the better...

Jetty seems to be under Apache 2.0 license, so that's fine. Sounds like something we could try for 2.8 already?

(BTW, if I get some assurance that 2.6.2-rc is ok, I'll release it this weekend, branch 2.6, and make the trunk 2.7...)

/Janne

Reply via email to