External build and java/scala mixed projects
I'm trying to use external buid for the project, which consists of java and scala modules (and GWT as well), however this seems to be failing to work well.
For instance, I am getting errors which are not errors but warnings:
Error: scala: /project/SnappingTest.java:469: warning: non-varargs call of varargs method with inexact argument type for last parameter;
Error: scala: cast to java.lang.Object[] for a non-varargs call and to suppress this warning
also it is not possible to navigate to these "errors" from Messages tab.
Disabling external build mode results in no errors (as expected, because there are no errors!)
请先登录再写评论。
i am also getting random(?) errors in external build mode and none in internal or fsc mode:
![]()
the errors are not clickable, and they are also simply not there.
Does a module with gwt code have scala facet? If yes it wouldn't work with external build right now. Try to remove scala facet from that module.
It doesn't help, still there are lots of errors which are
- not navigable from messages window
- not really an error (maven / standard build compiles without errors)
- perhaps you could contact me, so I may share project with you so you may try it yourself.
I also have a java/scala/maven mixed project, and I want to add here, that when I use external compiler, changes to code are no longer reflected. Furthermore, when I changed back to old compiler settings, several classpath related errors were found, which had not been found with external compiler.