Created
January 8, 2012 11:51
-
-
Save KarlHerler/1578109 to your computer and use it in GitHub Desktop.
The sbt output I get from using scalatras buildfile in a empty directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTE: I removed the seq(webSettings :_*) since it generates an error in this (also this comment doesn't exist in the file) | |
organization := "com.example" | |
name := "scalatra-sbt-prototype" | |
version := "0.1.0-SNAPSHOT" | |
scalaVersion := "2.9.1" | |
libraryDependencies ++= Seq( | |
"org.scalatra" %% "scalatra" % "2.0.2", | |
"org.scalatra" %% "scalatra-scalate" % "2.0.2", | |
"org.scalatra" %% "scalatra-specs2" % "2.0.2" % "test", | |
"ch.qos.logback" % "logback-classic" % "1.0.0" % "runtime", | |
"org.eclipse.jetty" % "jetty-webapp" % "7.4.5.v20110725" % "container", | |
"javax.servlet" % "servlet-api" % "2.5" % "provided" | |
) | |
resolvers += "Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting net.java.dev.jna jna 3.2.3 ... | |
:: retrieving :: org.scala-tools.sbt#boot-app | |
confs: [default] | |
1 artifacts copied, 0 already retrieved (838kB/16ms) | |
1 organization := "com.example" | |
Getting Scala 2.8.1 (for sbt)... | |
:: retrieving :: org.scala-tools.sbt#boot-scala | |
confs: [default] | |
3 artifacts copied, 0 already retrieved (15178kB/44ms) | |
Getting org.scala-tools.sbt sbt_2.8.1 0.10.1 ... | |
:: retrieving :: org.scala-tools.sbt#boot-app | |
confs: [default] | |
36 artifacts copied, 0 already retrieved (6414kB/201ms) | |
Getting Scala 2.9.1 ... | |
:: retrieving :: org.scala-tools.sbt#boot-scala | |
confs: [default] | |
4 artifacts copied, 0 already retrieved (19939kB/315ms) | |
[info] Set current project to default-f46f81 (in build file:/Users/kalle/Programming/scala/scalatra/tesproj/) | |
> show scala-version | |
[info] 2.9.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Karls-MacBook-Air:scalatra kalle$ rm -rd testproj/ | |
Karls-MacBook-Air:scalatra kalle$ mkdir testproj | |
Karls-MacBook-Air:scalatra kalle$ cp scalatra-sbt-prototype/build.sbt testproj/ | |
Karls-MacBook-Air:scalatra kalle$ vim testproj/build.sbt | |
Karls-MacBook-Air:scalatra kalle$ cd testproj/ | |
Karls-MacBook-Air:testproj kalle$ sbt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment