final RuntimeProjectConfiguration configuration,
final Map namedProjects)
throws ConfigurationException {
// If we were asked to preload the local repository...
RuntimeProjectBuilder builder =
new RuntimeProjectBuilder();
builder.setPreload(Boolean.TRUE.equals(
configuration.getPreload()));
List dependencyPath = Collections.singletonList("<default>");
initialiseProjectBuilder(configuration, dependencyPath, builder, namedProjects);
// This project contains those pages that are local and do not belong
// to another project.
builder.setContainsOrphans(true);
return builder.getProject();
}