I am trying to get started with the Lift frame by reading Upgrade in Action. I would like to familiarize myself with examples, but I immediately stumbled over a problem with installing Lift. I know that there are several ways to easily start with Lift, but I would like to use Lifty, as the book does, to keep track of it.
The problem is that both Lifty and sbt(and Lift!) Moved forward as the book was published. I installed sbtfrom the Typesafe repository for Ubuntu. Now I'm stuck trying to install Lifty.
After the Lifty documentation and this answer to SO - due to the fact that Lifty did not release binary for sbt0.11.3 - I decided that I should put in the ~/.sbt/plugins/build.sbtfollowing:
resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
addSbtPlugin("org.lifty" % "lifty" % "1.7.4")
libraryDependencies +=
Defaults.sbtPluginExtra(
"org.lifty" % "lifty" % "1.7.4",
"0.11.2",
"2.9.1"
)
sbt Lifty- sbt 0.11.2.
sbt, , Lifty , lifty. ,
lifty learn lift https://raw.github.com/Lifty/lifty/master/lifty-recipe/lifty.json
sbt :
[error] Not a valid key: lifty (similar: history)
[error] lifty learn lift https:
[error] ^
Lifty? , Scala, sbt Lift.
Lifty, sbt 0.7.7.
> lift create project-blank
> reload
> update
[error] sbt.ResolveException: unresolved dependency: net.liftweb#lift-webkit_2.9.1;2.3-RC3: not found
[error] unresolved dependency: org.scala-tools.testing#specs_2.9.1;1.6.6: not found
[info] == update ==
[error] Error running update: sbt.ResolveException: unresolved dependency: net.liftweb#lift-webkit_2.9.1;2.3-RC3: not found
[error] unresolved dependency: org.scala-tools.testing#specs_2.9.1;1.6.6: not found