diff options
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/BuildBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BuildBuild.scala b/stage2/BuildBuild.scala index 5e0f5d3..639154c 100644 --- a/stage2/BuildBuild.scala +++ b/stage2/BuildBuild.scala @@ -8,7 +8,7 @@ class BuildBuild(context: Context) extends Build(context){ val managedBuild = { val managedContext = context.copy( cwd = managedBuildDirectory ) val cl = new cbt.URLClassLoader( - classpath, + exportedClasspath, classOf[BuildBuild].getClassLoader // FIXME: this looks wrong. Should be ClassLoader.getSystemClassLoader but that crashes ) lib.create( lib.buildClassName )( managedContext )( cl ).asInstanceOf[Build] |