Is the scalac output available somewhere? Follow
Is there some way to see the scalac output when idea is compiling scala files? Unfortunately the scalac crashes every now and then and it is next to impossible to know what is the problem without seeing the output.
Please sign in to leave a comment.
In some cases, when scalac crashes with exception, you may see it in standard output window `Messages'. To get more detailed information, I would recomment you to generate ant buildscript by your project and make it.
With best regards,
Btw,I found the reason why scalac crashed this time. The reason seems to be in incorrect scalac params. Namely the plugin tries to compile the sources defined for the module libraries. More specifically:
I hava module A with library my-lib, which is exported. For my-lib I have defined sources which can be found inside a jar file. This module compiles just fine.
I have also a module B which depends on module A. If I try to compile module B, scala plugin tries to compile not only the sources of module B, but also all the src files found in module A my-lib sources.
This problem was introduced afaik in the latest plugin version.
Could you describe in details your project configuration? Do both these modules have Scala files? What kind of sources have you attached to your library - Scala or Java, what kind of library is it: module, project or application one?
Both of the modules contain only scala src files. The sources attached to the library are java files inside a jar file. And finally the library is a (exported) module library.
Fixed, thanks. Appropriate fix will be available with next version in repository.
Fow now I would recommend you attach sources in plain folder (not archive).
Great! Thanks, yet again, for such a rapid action!