Trying to create a Scala project from Eclipse

I have an Eclipse based Scala project but can't install the current Scala plugin on just keeps failing with some random MD5 hash.  So I've moved to Intellij Idea.  I have the latest IDEA and imported my project through Git.  The Cloning went fine and it recognized Scala files.  But when I try to build from the Build.xml file in Ant I get an error about the SDK not being specified.  But when I look at the SDK choices, none of them are Scala.  How do I use the Scala JSDK??

1 comment
Comment actions Permalink

You should create just Java SDK. Then you should add dependencies on library, which contains scala-library.jar. Also you should add Scala Facet to your module configuration, in this facet you should add dependency on library, which contains scala-library.jar and scala-compiler.jar.

Slightly outdated, but anyway, try to read it:

Best regards,
Alexander Podkhalyuzin.


Please sign in to leave a comment.