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??
请先登录再写评论。
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: http://confluence.jetbrains.net/display/SCA/Getting+Started+with+IntelliJ+IDEA+Scala+Plugin
Best regards,
Alexander Podkhalyuzin.