From 0caaec9422dbaebfd82e6fdde0104809212b6c92 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sat, 13 Mar 2010 13:44:56 -0500 Subject: [PATCH] work with latest xsbt compiler module --- src/main/scala/sbt/Project.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/sbt/Project.scala b/src/main/scala/sbt/Project.scala index add3433e2..a3b60e581 100644 --- a/src/main/scala/sbt/Project.scala +++ b/src/main/scala/sbt/Project.scala @@ -256,7 +256,7 @@ trait Project extends TaskManager with Dag[Project] with BasicEnvironment xsbt.ScalaInstance(version, info.launcher) lazy val localScalaInstances: Seq[ScalaInstance] = localScala ++ info.parent.toList.flatMap(_.localScalaInstances) def localScala: Seq[ScalaInstance] = Nil - def buildCompiler = new AnalyzingCompiler(buildScalaInstance, componentManager) + lazy val buildCompiler = new AnalyzingCompiler(buildScalaInstance, componentManager, log) /** Get a `ScalaInstance` for the Scala version with base directory `home`. The library and compiler jars are * assumed to be at `new File(home, "lib/scala-library.jar")` and `new File(home, "lib/scala-compiler.jar")`. * The label for this instance is determined by the version String in the `compiler.properties` file in `scala-compiler.jar`.*/