Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated the Chat application to: #9

Merged
merged 1 commit into from

2 participants

@fmpwizard

** sbt 0.12.1
** Lift 2.5-RC1
** Scala 2.10.0

  • Updated the instructions to use container:start instead of sbt update ~jetty-run
@fmpwizard fmpwizard * Updated the Chat application to
** sbt 0.12.1
** Lift 2.5-RC1
** Scala 2.10.0

* Updated the instructions to use container:start instead of sbt update ~jetty-run
d5d8360
@dpp dpp merged commit 496ffbc into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 27, 2013
  1. @fmpwizard

    * Updated the Chat application to

    fmpwizard authored
    ** sbt 0.12.1
    ** Lift 2.5-RC1
    ** Scala 2.10.0
    
    * Updated the instructions to use container:start instead of sbt update ~jetty-run
This page is out of date. Refresh to see the latest.
View
6 Simply_Lift.lyx
@@ -959,7 +959,11 @@ chat
\family default
directory and type
\family typewriter
-sbt update ~jetty-run
+sbt
+\family default
+and inside the sbt prompt, type
+\family typewriter
+container:start
\family default
.
The Simple Build Tool will download all necessary dependencies, compile
View
27 chat/build.sbt
@@ -0,0 +1,27 @@
+name := "Simply Lift Chat Application"
+
+version := "0.2"
+
+organization := "net.liftweb"
+
+scalaVersion := "2.10.0"
+
+resolvers ++= Seq("snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
+ "releases" at "http://oss.sonatype.org/content/repositories/releases"
+ )
+
+seq(com.github.siasia.WebPlugin.webSettings :_*)
+
+scalacOptions ++= Seq("-deprecation", "-unchecked")
+
+libraryDependencies ++= {
+ val liftVersion = "2.5-RC1"
+ Seq(
+ "net.liftweb" %% "lift-webkit" % liftVersion % "compile",
+ "net.liftmodules" %% "lift-jquery-module" % (liftVersion + "-2.2"),
+ "org.eclipse.jetty" % "jetty-webapp" % "8.1.7.v20120910" % "container,test",
+ "org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container,test" artifacts Artifact("javax.servlet", "jar", "jar"),
+ "ch.qos.logback" % "logback-classic" % "1.0.6"
+ )
+}
+
View
9 chat/project/build.properties
@@ -1,9 +0,0 @@
-#Project properties
-#Fri Apr 23 11:24:20 PDT 2010
-project.organization=Lift
-project.name=Lift SBT Template
-sbt.version=0.7.5
-project.version=0.1
-def.scala.version=2.7.7
-build.scala.versions=2.8.1
-project.initialize=false
View
21 chat/project/build/LiftProject.scala
@@ -1,21 +0,0 @@
-import sbt._
-
-class LiftProject(info: ProjectInfo) extends DefaultWebProject(info) {
- val liftVersion = "2.3"
-
- // uncomment the following if you want to use the snapshot repo
- // val scalatoolsSnapshot = ScalaToolsSnapshots
-
- // val dppsLocalMavenRepo = "m2" at "file:///home/dpp/.m2/repository"
-
- // If you're using JRebel for Lift development, uncomment
- // this line
- override def scanDirectories = Nil
-
- override def libraryDependencies = Set(
- "net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
- "org.mortbay.jetty" % "jetty" % "6.1.22" % "test->default",
- "junit" % "junit" % "4.5" % "test->default",
- "org.scala-tools.testing" %% "specs" % "1.6.6" % "test->default"
- ) ++ super.libraryDependencies
-}
View
14 chat/project/plugins.sbt
@@ -0,0 +1,14 @@
+libraryDependencies <+= sbtVersion(v => v match {
+ case "0.11.0" => "com.github.siasia" %% "xsbt-web-plugin" % "0.11.0-0.2.8"
+ case "0.11.1" => "com.github.siasia" %% "xsbt-web-plugin" % "0.11.1-0.2.10"
+ case "0.11.2" => "com.github.siasia" %% "xsbt-web-plugin" % "0.11.2-0.2.10"
+ case "0.11.3" => "com.github.siasia" %% "xsbt-web-plugin" % "0.11.3-0.2.11.1"
+ case "0.12.0" => "com.github.siasia" %% "xsbt-web-plugin" % "0.12.0-0.2.11.1"
+ case "0.12.1" => "com.github.siasia" %% "xsbt-web-plugin" % "0.12.0-0.2.11.1"
+})
+
+//Enable the sbt idea plugin
+addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.2.0")
+
+//Enable the sbt eclipse plugin
+addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0")
View
2  chat/sbt
@@ -1 +1 @@
-java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512m -Xmx1512M -jar `dirname $0`/sbt-launcher.jar "$@"
+java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512m -Xmx1512M -jar `dirname $0`/sbt-launcher-0.12.1.jar "$@"
View
BIN  chat/sbt-launcher-0.12.1.jar
Binary file not shown
View
BIN  chat/sbt-launcher.jar
Binary file not shown
Something went wrong with that request. Please try again.