This commit is contained in:
Mark Harrah 2012-02-04 21:10:30 -05:00
parent c17bf071d7
commit 5fdbc86259
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ object Load
{
val rootProject: URI => String = Load getRootProject units
def allProjects: Seq[ResolvedProject] = units.values.flatMap(_.defined.values).toSeq
def allProjects(build: URI): Seq[ResolvedProject] = units.get(build) map(_.defined.values.toSeq) getOrElse Seq.empty
def allProjects(build: URI): Seq[ResolvedProject] = units.get(build).toList.flatMap(_.defined.values)
def allProjectRefs: Seq[ProjectRef] = units.toSeq flatMap { case (build, unit) => refs(build, unit.defined.values.toSeq) }
def allProjectRefs(build: URI): Seq[ProjectRef] = refs(build, allProjects(build))
val extra: BuildUtil[ResolvedProject] = buildUtil(root, units, index.keyIndex, data)