aboutsummaryrefslogtreecommitdiff
path: root/stage2/BasicBuild.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-04-07 00:30:54 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-04-07 00:31:27 -0400
commitce8bab3856ec8755fb3b99be324f090770ddfe1f (patch)
tree43f0cbea4fa66414f59763b589d029fd43cb7e6b /stage2/BasicBuild.scala
parent1e2063c934028bd765f761038c607b1c78e6d161 (diff)
downloadcbt-ce8bab3856ec8755fb3b99be324f090770ddfe1f.tar.gz
cbt-ce8bab3856ec8755fb3b99be324f090770ddfe1f.tar.bz2
cbt-ce8bab3856ec8755fb3b99be324f090770ddfe1f.zip
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.
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r--stage2/BasicBuild.scala2
1 files changed, 2 insertions, 0 deletions
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