I\'ve got a scala project that compiles, runs and tests fine when using SBT from the command line. However, when building the project in intellij, it seems every class in the pr
I'll just add mine to the list in case anyone else made this beginner mistake: I temporarily "saved my progress" by doing cp Foo.scala Foo-save.scala
, forgetting that sbt would try to compile all the .scala
files in the directory.
(I don't know, I guess I was thinking of programming languages where any file not explicitly include
d was ignored ...)
Of course, since both the main file and the "temporary backup" file defined the same classes ... yeah.