Fix Jetty 7 support with JRebel

This commit is contained in:
Mark Harrah 2010-02-15 20:06:17 -05:00
parent 3c789c8a81
commit 46c5e0f92a
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ private object LazyJettyRun${jetty.version} extends JettyRun
import java.lang.ref.{Reference, WeakReference}
// Jetty classes must be loaded on initialization in order for the version detection code in WebApp to work properly
// this forces them to be loaded- otherwise, it is possible they aren't loaded until 'apply' is called
private[this] val forceJettyLoad = classOf[Server]
val DefaultMaxIdleTime = 30000
def apply(configuration: JettyConfiguration, jettyLoader: ClassLoader): Stoppable =