Igor,

You've been a great help! I just a hobby developer, so I'll always have a
lot to learn.

I added the following to my plugin's _Events.groovy. It looks hacky, but I
checked binding.variables, and jettyPluginDir looked like the best test. 

eventSetClasspath = {
        if (jettyPluginDir) {
                System.setProperty("grails.server.factory",
"org.grails.jetty.JettyServerFactory")
        }
}

I haven't timed them, but I've noticed that my sample app's tests seem to
run much faster with Jetty. I might be a new convert.

Ken




--
View this message in context: 
http://jetty.4.x6.nabble.com/jetty-users-Dynamic-Servlet-Registration-tp4961419p4961470.html
Sent from the Jetty User mailing list archive at Nabble.com.
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to