From a5f4db210aa2878eb8e15a6d9fe5235199d4aee6 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Mon, 14 Mar 2016 23:29:09 -0400 Subject: replace two level classloader with hierarchy replace two level classloader (one for non-cachable dependencies with a cached parent one for cachable ones) with a hierachy of classloaders corresponding this should eventually allow re-using CBT's classloader between stage1 and stage2 this change breaks the ScalaTest support for now --- stage2/mixins.scala | 3 --- 1 file changed, 3 deletions(-) (limited to 'stage2/mixins.scala') diff --git a/stage2/mixins.scala b/stage2/mixins.scala index 753ee60..c3a57da 100644 --- a/stage2/mixins.scala +++ b/stage2/mixins.scala @@ -20,9 +20,6 @@ trait ScalaTest extends Build with Test{ "org.scalatest" %% "scalatest" % scalaTestVersion ) ++ super.dependencies - // workaround probable ScalaTest bug throwing away the outer classloader. Not caching doesn't nest them. - override def cacheDependencyClassLoader = false - override def run: ExitCode = { val discoveryPath = compile.toString++"/" context.logger.lib("discoveryPath: " ++ discoveryPath) -- cgit v1.2.3