[infinispan-dev] IDEA 12 and Scala heads up (and implications in Java compilation)
Galder Zamarreño
galder at redhat.com
Thu Jan 10 04:29:09 EST 2013
Not sure we can do that… the IDE itself tells you when a plugin needs update, so that's people should be doing it. Update Scala plugin regardless.
Btw, thx a lot for writing up about the Scala configuration in IntelliJ :D
On Jan 9, 2013, at 2:48 PM, Navin Surtani <nsurtani at redhat.com> wrote:
> Thanks for sending this out Galder. I have a feeling that we need to include some information about making sure people are using the latest version of the Scala plugin. This probably explains why there were issues when I was testing stuff on the community edition (as i had mentioned to you previously) since that was with a clean checkout.
>
> WDYT? Warn about the Scala plugin versioning?
>
> ------------------------
> Navin Surtani
>
> Software Engineer
> JBoss SET
> JBoss EAP
>
> Twitter: @navssurtani
>
> On 9 Jan 2013, at 06:53 PM, Galder Zamarreño <galder at redhat.com> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
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