[infinispan-dev] IDEA 12 and Scala heads up (and implications in Java compilation)

Galder Zamarreño galder at redhat.com
Wed Jan 9 05:52:45 EST 2013


Hi all,

Navin has updated the wiki in https://docs.jboss.org/author/display/ISPN/Contributing+-+The+Basics with information on how to set up Scala compiler correctly on IDEA 11.

IDEA 12 changes all of this, but you will only see it if you start a brand new project from scratch. If you have an existing project and move to IDEA 12, it should look like Navin says.

Brand new Infinispan projects opened with IDEA 12 now result in all Java compilation going through SBT now (http://blog.jetbrains.com/scala/2012/12/28/a-new-way-to-compile/), but this only works fine with the very latest Scala plugin installed! (I had compilation issues with a previous version Scala version)

You will still require 'mvn install' execution from command line to generate log implementations and CLI lexer classes, but after that it should work fine. 

So, if you open a brand new IDEA 12 project, make sure you update Scala plugin to the very latest version. This is now crucial for Java compilation as well.

Cheers,
--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the infinispan-dev mailing list