Scala (SBT) compile error: separate output paths (production, tests)

风格不统一 提交于 2019-12-03 11:52:48

问题


I have the same compile error on IntelliJ and Eclipse Scala:

"Error:scalac: Output path C:\workspaces\ScalaProgFun\forcomp\bin is shared between: Module 'progfun-forcomp' production, Module 'progfun-forcomp' tests Please configure separate output paths to proceed with the compilation. TIP: you can use Project Artifacts to combine compiled classes if needed."

Can someone help me with this, please? I have no idea how SBT works!

This error happens on this project: http://spark-public.s3.amazonaws.com/progfun/assignments/forcomp.zip


回答1:


In IntelliJIDEA you can try to use File -> Project Structure -> Modules -> Your Project -> Paths Specify different paths for test and output (if you have more than one module - you can try to specify unique paths for every module)



来源:https://stackoverflow.com/questions/24118083/scala-sbt-compile-error-separate-output-paths-production-tests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!