Scala for rc1?

Hi,
I use your Scala plugin in the 8.0eaps and I really like it. It helps a lot even though there are still some rough edges.

Sadly the plugin is turned off by Idea in the last few builds. Is there any way to get a new plugin version for rc1?

Thanks a lot!

32 comments
Comment actions Permalink

The new version of the plugin will be published when we figure out the reasons and fix the exceptions that are standing against the previous build. Hopefully it won't take a long time.

0
Comment actions Permalink

Great stuff.... I'm waiting for this too..... and the "reverse order compiler" :o)

Thanks, Paul.

0
Comment actions Permalink

RC2 is out now!!!! :o)

0
Comment actions Permalink

Just meaning the plugin for RC1 is not needed anymore:)

0
Comment actions Permalink

Just meaning the plugin for RC1 is not needed anymore:)

Exactly!! .. ..
...
...
.....
however, one for RC2 would be nice :o)

0
Comment actions Permalink

Paul,

Ok, we published Scala plugin, compatible with RC2 and final Diana release. Use it at your own risk. :)

With best regards,
Ilya

0
Comment actions Permalink

Great stuff.... I'll try it out :o)

0
Comment actions Permalink

Hi,

I tried out the new scala plugin(0.2.21098) with Intellij 8 Final and intelli did not start up if I copied the Scala folder into my plugin dir.

my setup:
leopard os x, jdk 1.5

any ideas?

0
Comment actions Permalink

Also, Could you please tell why it's not showing up in the available plugin list as used to?

0
Comment actions Permalink

Please check with the plugin version just uploaded. Works fine to me.

0
Comment actions Permalink

ouch, it disappeared from http://plugins.intellij.net/plugin/?id=1347 and it does not show up in the plugin section either. what should I do? Which version you are referring to? Thanks

0
Comment actions Permalink

I'm trying 9013, i.e. 8.0-final.

0
Comment actions Permalink

hmm, i tried 6175 scala plugin jdk 1.5 and intellij 8 (os x 10.5) and it's still hanging. maybe something is cached? should i delete anything?

(it just shows the splash screen and stops there)

0
Comment actions Permalink

i think it's compiled with jdk 6

this is in my log file:
2008-11-06 15:58:04,085 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.diagnostic.DialogAppender$1@cc4401,notifier=null,catchExceptions=false,when=1226005042936] on apple.awt.CToolkit@1b9fc6
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.lang.ClassLoader.defineClass(ClassLoader.java:520)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:119)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:115)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:91)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:78)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:41)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.loadClass(ExtensionComponentAdapter.java:140)

0
Comment actions Permalink

It is definitely compiled with jdk 1.6:( Sorry, didn't know there is such a problem with Macs I'll see if I can do something about it.

0
Comment actions Permalink

only the latest generation of macs (ie 64-bit versions) with the latest version of the OS (leopard) will have java 6, older models (or new models with older OS) will have only jdk 5.

Edited by: peter kovac on Nov 7, 2008 12:43 AM

0
Comment actions Permalink

I think if you set the target/source level to jdk 5 that should work. thanks in advance

0
Comment actions Permalink

OK, the agents requirements on TeamCity were set up incorrectly. As a result of this one of the two compatible agents was the one with jdk 1.6 installed. So half of the builds we uploaded did not start on MacOSX:( Hopefully I fixed it, and the version I've just uploaded is ok, though I don't have a Mac at hand, so cannot verify.
Thank you for spotting this!

0
Comment actions Permalink

2008-11-06 23:06:54 0.2.21105. -> I am trying this version and i see the same problem.

0
Comment actions Permalink

version: 2008-11-06 23:06:54 0.2.21105. -> has the same problem

0
Comment actions Permalink

For some strange reason the Scala plugin does not appear in the plugin manager in 8.0 final. Manual installation works fine, though.

Great work with the Scala plugin, btw! For me it's one of the few reasons to buy the upgrade.

0
Comment actions Permalink

21105 is precisely the one that had this problem, the fixed is 21107, now in plugin manager.

0
Comment actions Permalink

Hi Wallaby,
Thank you for the kind words, you are among the few who find our work worth our time spent:) Seriously, we are fully aware that the usefulness of the plugin as of now degrades with more advanced scala language features used, for example we have very limited support for inferring types, which scala has rather aggressive. This as well as the decompiler of scalac-compiled classes is our target now. Unfortunately we have rather tight resources to work on this plugin, so progress is not as fast as we would like.

Eugene.

0
Comment actions Permalink

for the record I also bought a license only because of this plugin. so keep up the good work!

0
Comment actions Permalink

Hello, Eugene,

Scala support was also a big reason for me to upgrade to version 8.0 and I eagerly await its advancement. As a complete neophyte with Scala, I need all the help I can get! But if the history Groovy / Grails support from JetBrains is any indicator, Scala support will advance quickly.

I wonder if perhaps the people at EPFL or other quasi-principals of the Scala language project might be able to supply resources (probably not money, but perhaps developer resources)? I fully expect IDEA to have the best Scala support, and it would probably be in the interest of at least some of those in Scala's inner circle to accelerate your progress.

Just an idea...


Randall Schulz

0
Comment actions Permalink

thanks very much, it worked!

0
Comment actions Permalink

Hi Randall,

In my opinion (as much as I like intellij) it's really unlikely that anybody but Intellij will contribute to a plugin which is available only on their closed platform. Also, please note
EPFL is already funding the eclipse plugin.

Just my 2c

0
Comment actions Permalink

That is unfortunate.

I really cannot abide or tolerate Eclipse. I will simply never use it. I've encountered it since it was Visual Age for Java, and it has always been an annoyance and a disappointment.

However, while the IDEA core is itself closed-source, as a platform for the development of software tools, it is in fact open. It has a well-defined and sophisticated extensibility mechanism, namely it's plug-in architecture.


Randall Schulz

0
Comment actions Permalink

Hi Randall,

In my opinion (as much as I like intellij) it's really unlikely that anybody but Intellij will contribute to a plugin which is available only on their closed platform. Also, please note
EPFL is already funding the eclipse plugin.

Just my 2c


It's actually my company that's funding the eclipse plugin now :o) We're doing it to stimulate the language itself rather than the eclipse IDE in general. Lets face it, Universities aren't going to promote (or at least shouldn't) a closed IDE you have to pay for. Once we have enough people leaving university with scala knowledge, they can start using it with a real IDE :o)

Also, I think the job the jetbrains guys are doing on this plugin is great so thanks and please keep up the good work!

EDIT: By the way, the scala plugin doesn't show up in the plugin repository from the IDE, I had to install it manually!

0
Comment actions Permalink

Wallaby, how to preform a manual installation? Is it described anywhere?
I've just installed IDEA 8 Final on my WinXP machine and downloaded org.intellij.scala_6176.zip

Disregard my question. I found that I already asked it here . So, I just extracted a plugin zip file into IntelliJ IDEA plugin folder, restarted application and it picked Scala plugin immediately.

Edited by: Vladimir Kelman on Nov 8, 2008 10:58 AM

0

Please sign in to leave a comment.