use name setting when displaying updated project

This commit is contained in:
Mark Harrah 2011-07-17 11:26:27 -04:00
parent cc50225bfb
commit b956b62c89
1 changed files with 2 additions and 1 deletions

View File

@ -158,7 +158,8 @@ object Project extends Init[Scope] with ProjectExtra
val ref = Project.current(s0)
val s = installGlobalLogger(s0, structure, ref)
val project = Load.getProject(structure.units, ref.build, ref.project)
logger(s).info("Set current project to " + ref.project + " (in build " + ref.build +")")
val label = Keys.name in ref get structure.data getOrElse ref.project
logger(s).info("Set current project to " + label + " (in build " + ref.build +")")
def get[T](k: SettingKey[T]): Option[T] = k in ref get structure.data
def commandsIn(axis: ResolvedReference) = commands in axis get structure.data toList ;