I am learning web development in Scala. is currently trying to install the latest version of Scala / lift with sbt 0.11 on MAC OSX. I have already done the following:
1. Installed Scala 2.9.1 final
2. We downloaded the latest version of sbt 0.11 from https://github.com/harrah/xsbt/wiki/Setup
3. Setting up the path environment for sbt
What I'm trying to do now is get the latest lift framework (2.4-M4) from http://liftweb.net/download so that I can try running the lift_basic project on localhost: 8080 using the pier. I have a few questions about this;
Since on sbt 0.11 I will need to do this:
resolvers += "Web plugin repo" at "http://siasia.github.com/maven2" addSbtPlugin("com.github.siasia" %% "xsbt-web-plugin" % "0.1.2")
instead of doing libraryDependencies += ...
where should I put my object resolvers (check the following code below) that will allow me to install both the marina and the web plugin? so in the lift_basic folder should they go to Project / build / LiftProject.Scala or just delete LiftProject.scala and create Build.scala in Project / Build.scala?
object Resolvers { val webPluginRepo = "Web plugin repo" at "http://siasia.github.com/maven2" val jettyRepo = "Jetty Repo" at "http://repo1.maven.org/maven2/org/mortbay/jetty" }
object Dependencies { // web plugin val webPluginDeps = Seq( "org.mortbay.jetty" % "jetty" % "6.1.26" % "jetty", // The last part is "jetty" not "test". "javax.servlet" % "servlet-api" % "2.5" % "provided->default" )
What should I do with sbt.jar existing inside the lift_basic folder? It looks like it has an old version of sbt (probably 7.4.0 or so).
Besides changing the version of sbt to 0.11.0 in Build.properties, what other changes do I need to make to accommodate this new installation? I need to change var BuildScalaVersion
and var buildVersion
to Build.scala in the full configuration, e.g. here https://github.com/harrah/xsbt/wiki/Full-Configuration-Example ? If so, what will the build version be?
I am new to Scala and there was not much documentation to install the new version of Scala / lift. will appreciate any pointers / links / answers that will allow me to install a new version of Scala / lift. Thank you for your time.
source share