This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Building Scala from the Source Code

Building Scala from the source code is an rather simple process. The Ant tool is used to control the build process of the entire Scala distribution: you can use any platform that supports Java to build Scala and to contribute to the development of the Scala platform. You need to have a full install of Ant on your machine; if you use Ubuntu, you may need to install the package "ant-optional".

Let's build it !

A machine with at least 1 GB of physical memory is strongly recommended. To build Scala, just type in the following command

$ ant 

Let's test it !

You can run the Scala test suite by issuing the following command:

$ ant test

If all tests complete successfully, you're in business: you can start using your newly build Scala system, and you can also start participating in the development of the Scala language.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland