From ce8bab3856ec8755fb3b99be324f090770ddfe1f Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Thu, 7 Apr 2016 00:30:54 -0400 Subject: Fix stage2 classloader not being stored in transient cache and thus being re-created on second and subsequent runs. Also use classloader from cache for Builds rather than new one, which should properly make Build dependencies work. --- stage2/BasicBuild.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stage2/BasicBuild.scala') diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index f785f01..2b49c93 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -133,6 +133,7 @@ class Build(val context: Context) extends Dependency with TriggerLoop with SbtDe def test: ExitCode = lib.test(context) + /* context.logger.composition(">"*80) context.logger.composition("class " ++ this.getClass.toString) context.logger.composition("dir " ++ projectDirectory.string) @@ -141,6 +142,7 @@ class Build(val context: Context) extends Dependency with TriggerLoop with SbtDe context.logger.composition("context " ++ context.toString) context.logger.composition("dependencyTree\n" ++ dependencyTree) context.logger.composition("<"*80) + */ // ========== cbt internals ========== private[cbt] def finalBuild = this -- cgit v1.2.3