Skip to content
Saleem Ansari edited this page May 21, 2014 · 6 revisions

Welcome to the scala-snippets wiki!

Requirements

Requirements for playing with scala-snippets:

  • Install SBT
  • Checkout the scala-snippets code

Setup

First, Install SBT ( the scala build tool ): descirbed here, and then set PATH variables so that you can type sbt command.

Now, you can checkout the scala-snippets code using GIT, goto the scala-snippets directory and begin

git clone https://github.com/tuxdna/scala-snippets.git
cd scala-snippets
sbt
[info] Loading project definition from /home/saleem/projects/scala/scala-snippets/project
[info] Set current project to scala-snippets (in build file:/home/saleem/projects/scala/scala-snippets/)
> compile
> run-main intro

Examples

Creating XML from Wikipedia dump