aboutsummaryrefslogtreecommitdiff
path: root/stage1/Stage1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/Stage1.scala')
-rw-r--r--stage1/Stage1.scala11
1 files changed, 9 insertions, 2 deletions
diff --git a/stage1/Stage1.scala b/stage1/Stage1.scala
index c243cc0..d9bde7c 100644
--- a/stage1/Stage1.scala
+++ b/stage1/Stage1.scala
@@ -98,7 +98,8 @@ object Stage1{
val cls = this.getClass.getClassLoader.loadClass("cbt.NailgunLauncher")
- def cbtDependencies = new CbtDependencies(
+ def _cbtDependencies = new CbtDependencies(
+ (stage2Target++".last-success").lastModified,
mavenCache, nailgunTarget, stage1Target, stage2Target,
new File(buildStage1.compatibilityClasspath)
)
@@ -109,12 +110,18 @@ object Stage1{
val Some( stage2LastModified ) = compile(
buildStage1.stage1LastModified,
stage2sourceFiles, stage2Target, stage2StatusFile,
- cbtDependencies.stage2Dependency.dependencies,
+ _cbtDependencies.stage2Dependency.dependencies,
mavenCache,
Seq("-deprecation","-feature","-unchecked"),
zincVersion = constants.zincVersion, scalaVersion = constants.scalaVersion
)
+ def cbtDependencies = new CbtDependencies(
+ (stage2Target++".last-success").lastModified,
+ mavenCache, nailgunTarget, stage1Target, stage2Target,
+ new File(buildStage1.compatibilityClasspath)
+ )
+
logger.stage1(s"calling CbtDependency.classLoader")
assert(