mirror of https://github.com/sbt/sbt.git
Fixed class loading for web applications
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@823 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
parent
f4d350af2e
commit
ce90bece62
|
|
@ -40,7 +40,7 @@ object JettyRun extends ExitHook
|
|||
def runJetty() =
|
||||
{
|
||||
val baseLoader = this.getClass.getClassLoader
|
||||
val loader: ClassLoader = new SelectiveLoader(classpathURLs.toArray, baseLoader, "org.mortbay." :: "javax.servlet." :: Nil)
|
||||
val loader: ClassLoader = new java.net.URLClassLoader(classpathURLs.toArray, baseLoader)
|
||||
val lazyLoader = new LazyFrameworkLoader(implClassName, Array(FileUtilities.sbtJar.toURI.toURL), loader, baseLoader)
|
||||
val runner = ModuleUtilities.getObject(implClassName, lazyLoader).asInstanceOf[JettyRun]
|
||||
runner(configuration, log)
|
||||
|
|
|
|||
Loading…
Reference in New Issue