Description
It looks to me like adding the antlr specific sources to sbt's managedSourceDirectories
(https://github.com/ihji/sbt-antlr4/blob/3d36e6c/src/main/scala/com/simplytyped/Antlr4Plugin.scala#L80) isn't a good idea, since sbt already has the root directory src_managed
in the classpath (tested only with sbt 1.0.3). The resulting classpath contains the antlr generated sources twice then: src_managed
and src_managed/antlr4
.
While sbt deals with that fine, Intellij compiles the classes twice and fails, complaining about "duplicate classes".
Changing this might be a can of worms though, and I haven't tested the zoo of different sbt versions and IDEs. Maybe it's best to just add a note in the readme? You probably know this topic better than me - what's your thoughts?
Activity