How to build / test Scala without IDE dependency?

Now I study Scala well and enjoy it; I hope that it will implement future projects, not Java. I like less (relatively) poor IDE support. I found both IDEA and Eclipse with the Scala plugin (including nightly builds) a little unreliable or difficult to use - I want what I can always depend on. For instance. Yesterday I could not get a new installation of the eclipse + plugin to run my tests at all or even open the editor window!

I am considering hopping between Eclipse / IDEA depending on what is best for the task, and more importantly, reducing my dependence on the IDE for building and running tests (ScalaTest). This is not trivial for me since I grew up in Java in Eclipse; leaving Eclipse SVN to use GIT was originally a big deal. Given that I only have time to learn one tool, should it be Ant, Maven, buildr, sbt, ....? How do other people work?

+5
source share
5 answers

I used both Maven and sbt with Scala and found that both of them are pretty easy to use.

sbt Scala, Scala ( XML Maven), sbt REPL, ..

sbt Scala.

Java-, WAR, EJB .., , Maven .

Maven , , , , , .

+10

SBT IDEA. , , SBT IDEA.

, SBT Scala.

+3

EDIT: Uuuups. . IDE. , make;) Vim

Java- IDE, Vim. , " ", .

, // Scala IDE. Scala, netbeans IDEA ( Scala) .

, Scala , : , , , Scala ( ) . , , , /.

, , Scala.

, , - . , ;)

+1

Buildr Scala Java , ScalaCheck ScalaSpecs, , , , Maven.

+1

. , Netbeans. Scala - (Eclipse, Idea Netbeans).

Netbeans 6.8 Scala -2.8.0.r22602-b20100720020114

, Scala, Netbeans. , , .

I use Netbeans for development and Ant for offline build. Information on configuring Ant for Scala is here: http://scriptlandia.blogspot.com/2007/04/how-to-compile-and-run-scala-program.html

0
source

All Articles