Using Intellij IDEA with Scala plugin.
When doing a Build
-> Rebuild Project
I get the following make warnings:
Output path ProjectRootFolder\project\target\idea-test-classes intersects with a source root. Only files that were created by build will be cleaned.
Output path ProjectRootFolder\project\target\idea-classes intersects with a source root. Only files that were created by build will be cleaned.
The project was generated with SBT gen-idea plugin.
The two output paths mentioned in the warnings are set as output path and test output path for the build module of the project under Project Structure
-> Modules
-> ProjectName-build
-> Paths
-> Use module compile output path
.
Looking at the Sources tab for both the ProjectName
module and ProjectName-build
modules I saw that there is no place where ProjectRootFolder\project\target
was marked as Source
.