Monday, September 3, 2012

More hints that will help with the ABCs of Scala

Add the ability to pull down source with the dependencies with SBT 

If you add the EclipseKeys.withSource := true to the build.sbt file.

name := "canon"

version := "1.0"

scalaVersion := "2.9.2"

EclipseKeys.withSource := true

resolvers += "Typesafe Repository" at ""

resolvers += "Spray Repository" at ""

Scala-IDE will automatically attach source to the dependency which will allow you to debug the cryptic error messages more easily

No comments:

Post a Comment