Permalink
Browse files

Merge pull request #9 from fmpwizard/master

Updated the Chat application to:
  • Loading branch information...
2 parents 0449dd8 + d5d8360 commit 496ffbcf11a83170210a8202608836c4cbd6c254 @dpp committed Feb 27, 2013
View
@@ -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
@@ -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"
+ )
+}
+
@@ -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
@@ -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
@@ -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
@@ -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 "$@"
Binary file not shown.
View
Binary file not shown.

0 comments on commit 496ffbc

Please sign in to comment.