Update Project to work with latest global lock interface in xsbt

This commit is contained in:
Mark Harrah 2009-10-14 18:02:37 -04:00
parent 28b24ed3f9
commit 25952ce5be
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ trait Project extends TaskManager with Dag[Project] with BasicEnvironment
/** The definitive source for the version of Scala being used to *build* the project.*/
def buildScalaVersion = info.buildScalaVersion.getOrElse(buildInitScalaVersion.value)
def componentManager = new xsbt.ComponentManager(info.app.components, log)
def componentManager = new xsbt.ComponentManager(info.launcher.globalLock, info.app.components, log)
def buildScalaInstance =
localScalaInstances.find(_.version == buildScalaVersion) getOrElse
xsbt.ScalaInstance(buildScalaVersion, info.launcher)