|
|
|
|
|
by octo_t
4936 days ago
|
|
libraryDependencies ++= Seq(
"org.scalatra" %% "scalatra" % "2.0.4",
"org.scalatra" %% "scalatra-scalate" % "2.0.4",
"org.scalatra" %% "scalatra-specs2" % "2.0.4" % "test",
"ch.qos.logback" % "logback-classic" % "1.0.0" % "runtime",
"org.eclipse.jetty" % "jetty-webapp" % "7.6.0.v20120127" % "container",
"javax.servlet" % "servlet-api" % "2.5" % "provided"
) in your build.sbt too difficult? Admittedly a bit longer than bundling/gem installing, but not too difficult? (Although I haven't had to use scalatra personally in a project so there might be hackery I'm missing) |
|
Even if you typed that in by hand, you sure took a big detour on your journey of simply declaring "I just want the latest version of Scalatra that works so I can begin coding" by having to go specify Jetty version 7.6.0.v2012012759 and friends.
I don't find it "too difficult". Rather, it's just confusing, nontrivial, and it obstructed my progress with Scala.
*I know g8 just copies down a project from Github like https://github.com/scalatra/scalatra-sbt.g8/blob/master/src/..., but having tools that generate input for other build tools is along my point.