Developing Scala

Why does building Scala on OS X fail?

Attempting to build Scala on PowerPC OS X results in various errors. These can range from an internal compiler error to a Trace/BPT trap. It is claimed that Java 1.5.0_06 in JITed mode (HotSpot) on PPC OS X has bugs in object reference handling.

Scala builds successfully on OS X with JDK 1.6.

How do I use Maven to build Scala projects?

Check out David Bernard’s blog, maven for scala.

Which IDEs provide good Scala support?

Netbeans, Eclipse, and IntelliJ are popular choices for a Scala development environment. Each IDE has its strengths and its weaknesses independent of programming language, so that itself is a major factor in choosing a good IDE. Also, while Scala is relatively new, these IDEs have been improving rapidly in their support of the Scala language.

Netbeans provides basic compiler warnings interactively, although the indentation system is currently flaky before Netbeans 6.5. Netbeans also enables a very simple ant environment, which allows very simple projects to be quickly setup.

Eclipse is probably the most popular choice due to its prevalence in the developer world, however, some have commented on it still having some interactive issues.

IntelliJ is rumored to be a little slow, but supposedly has the best Scala support available.

Since most of the popular IDEs provide the same basic features, it really comes down to the non-Scala related features. Some people found success in using a given IDE and a console to build/run the application.

 
faqs/development.txt · Last modified: 2010/02/11 09:10
 
Recent changes RSS feed Valid XHTML 1.0 Driven by DokuWiki