0
我刚刚添加了一个子项目到我的SBT编译来编译宏。下面是我添加了project/Build.scala
:为什么IDEA会因多项目构建失败?
import sbt._
object DevaBuild extends Build {
lazy val deva = Project("deva", file(".")) dependsOn macros
lazy val macros = Project("macros", file("macros"))
}
它建立在命令行罚款,但IntelliJ IDEA的给了我这个错误:
Error:scala: Output path .../deva/project/target/idea-classes is shared between: Module 'deva-build' production, Module 'main-build' production
Output path .../deva/project/target/idea-test-classes is shared between: Module 'deva-build' tests, Module 'main-build' tests
Please configure separate output paths to proceed with the compilation.
TIP: you can use Project Artifacts to combine compiled classes if needed.
你使用sbt-idea插件还是内部Intellij Sbt导入支持(intellij-sbt插件)? – dk14 2014-09-23 07:04:51