Skip to content

Commit

Permalink
Use unique name for synthetic Pants projects. (#1269)
Browse files Browse the repository at this point in the history
Use unique name for synthetic Pants projects.
  • Loading branch information
olafurpg committed Jan 8, 2020
2 parents d17c489 + a0c0d24 commit c2394b3
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -315,7 +315,9 @@ private class BloopPants(
.toRelative(AbsolutePath(workspace))
.toURI(isDirectory = false)
.toString()
toEmptyBloopProject(name + "-root", root.toNIO)
// NOTE(olafur): cannot be `name + "-root"` since that conflicts with the
// IntelliJ-generated root project.
toEmptyBloopProject(name + "-project-root", root.toNIO)
}
val binaryDependenciesSourcesIterator = getLibraryDependencySources()
val generatedProjects = new mutable.LinkedHashSet[Path]
Expand Down

0 comments on commit c2394b3

Please sign in to comment.