incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jaquith <>
Subject Winstone/CDDL
Date Thu, 26 Mar 2009 03:26:06 GMT
Janne and all --

The web unit tests are bothering me again. Specifically, the fact that
we can't run them means we aren't getting good visibility to problems
like the container login issue mentioned on the -user list. So I want
to fix them. Again.

I've gotten fed up with the bother of fixing the particular part of
our web unit tests that are broken -- the embedded Jetty container
that starts the test webapps. Fortunately I found an alternative
webapp container, Winstone, that does exactly what we need. It's
simple to run (can be done at the command line), and best of all it's
TINY. Total additional size is 320k, plus the commons-logging-api jar
(52k), which for some reason it needs. On the other side, I *think* we
could get rid of the jetty-* jars in test (240k in total), which means
the net addition is about 80k.

I think this is worth doing. I'd like to back-port this to 2.8 so we
can fix the tests there, too. The best part is that this should
actually work, in the sense that it means we don't have to worry about
maintaining TestContainer, which was only meant to be good enough to
barely function. And at the moment it doesn't.

The only question is, is the CDDL ok? It looks like it probably is,
since we have a license notice for it in docs already.


View raw message