Note that there are some explanatory texts on larger screens.

plurals
  1. POInstalling Scala 2.9.1/Lift 2.4-M4 using sbt 0.11.0
    primarykey
    data
    text
    <p>I am learning to do web development in Scala. currently trying to install the newest version of Scala/lift with sbt 0.11 in MAC OSX. I so far have already done the following:<br/><br/> 1. Installed Scala 2.9.1 final<br/> 2. Downloaded latest sbt 0.11 from <a href="https://github.com/harrah/xsbt/wiki/Setup" rel="noreferrer">https://github.com/harrah/xsbt/wiki/Setup</a><br/> 3. Setup path environment for sbt</p> <p>What I am trying to do now is getting the latest lift framework (2.4-M4)from <a href="http://liftweb.net/download" rel="noreferrer">http://liftweb.net/download</a> so that I can try running lift_basic project on localhost:8080 using jetty. I have several questions about that;</p> <ul> <li><p>Since on the sbt 0.11 I will have to do this:</p> <p><code>resolvers += "Web plugin repo" at "http://siasia.github.com/maven2" addSbtPlugin("com.github.siasia" %% "xsbt-web-plugin" % "0.1.2")</code></p> <p>instead of doing <code>libraryDependencies += ...</code> where should I put my object resolvers (checkout the following code below) that would enable me to install both the jetty and web plugin? so, under lift_basic folder should they go within Project/build/LiftProject.Scala or just delete LiftProject.scala and create Build.scala under Project/Build.scala? </p> <p><code>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" }</code></p> <pre><code>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-&gt;default" ) </code></pre></li> <li><p>What should I do with the sbt.jar existing inside the lift_basic folder? It looks like that it has the old version of sbt there (probably 7.4.0 or so)..</p></li> <li><p>Besides changing the sbt version to 0.11.0 on the Build.properties, what other changes do I need to make to accomodate this new install? Do I have to change the <code>var BuildScalaVersion</code> and <code>var buildVersion</code> on the Build.scala on the full configuration like the example <a href="https://github.com/harrah/xsbt/wiki/Full-Configuration-Example" rel="noreferrer">https://github.com/harrah/xsbt/wiki/Full-Configuration-Example</a> here? If yes, what would be the build version? </p></li> </ul> <p>I am a total newbie to Scala, and there hasnt been a lot of documentations out there for installing new scala/lift version. will appreciate any pointers/references/answers that would enable me to install new version of scala/lift. Thank you for your time. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload