How do you use external Scala compiler with IDEA 12? -
how use external scala compiler idea ? seem have randomly appearing errors saying "scala: cannot connect compile server @ localhost/127.0.0.1:3200"
sometimes works. doesn't. can't find pattern.
here have in log
9:20:58 pm auto make completed errors 9:21:09 pm using new (sbt-based) scala compiler. in case of compilation problems may enable previous (internal) compiler clearing: project settings / compiler / use external build 9:21:10 pm scala compile server error: not create java virtual machine. error: fatal exception has occurred. program exit. 9:21:12 pm compilation completed 1 error , 0 warnings in 3 sec
i'm using
- idea 12.1 (129.161)
- scala compiler 2.10.1
- scala plugin 0.7.213
- jdk 1.7
- windows 7
in project settings / compiler / use external build checked. in ide settings / scala / run compile server checked.
do need launch compiler server manually ? else ?
upd: looks bug me. posted jira ticket http://youtrack.jetbrains.com/issue/scl-5523
you need lower heap size 1024 512 or something. compile server can created , started. tried intelij 13.0.2 (133.331) , scala plugin 0.26.361
Comments
Post a Comment