This repository has been archived by the owner on Aug 12, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fixed up the mvc sample
- Loading branch information
Showing
14 changed files
with
120 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name := "Lift 2.5 starter template" | ||
|
||
version := "0.0.1" | ||
|
||
organization := "net.liftweb" | ||
|
||
scalaVersion := "2.9.1" | ||
|
||
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-SNAPSHOT" | ||
Seq( | ||
"net.liftweb" %% "lift-webkit" % liftVersion % "compile", | ||
"net.liftweb" %% "lift-mapper" % liftVersion % "compile", | ||
"net.liftmodules" %% "lift-jquery-module" % (liftVersion + "-1.0-SNAPSHOT"), | ||
"org.eclipse.jetty" % "jetty-webapp" % "7.5.4.v20111024" % "container; test", | ||
"ch.qos.logback" % "logback-classic" % "1.0.6", | ||
"org.specs2" %% "specs2" % "1.11" % "test", | ||
"com.h2database" % "h2" % "1.3.167" | ||
) | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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.11" | ||
case "0.11.3" => "com.github.siasia" %% "xsbt-web-plugin" % "0.11.3-0.2.11.1" | ||
}) | ||
|
||
//Uncoment this line to enable the sbt idea plugin | ||
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0") | ||
|
||
//Uncoment this line to enable the sbt eclipse plugin | ||
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-RC1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
java -Xmx1024M -Xss2M -XX:+CMSClassUnloadingEnabled -jar `dirname $0`/sbt-launcher.jar "$@" | ||
java -Xmx1024M -Xss2M -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -jar `dirname $0`/sbt-launcher.jar "$@" |
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
scala_29/lift_mvc/src/main/resources/props/default.logback.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>console.devmode.log</file> | ||
<append>true</append> | ||
<encoder> | ||
<pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
|
||
|
||
<logger name="code.snippet" level="info" /> | ||
<logger name="net.liftweb" level="warn" /> | ||
<logger name="bootstrap.liftweb" level="info" /> | ||
<root level="warn"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>console.devmode.log</file> | ||
<append>true</append> | ||
<encoder> | ||
<pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
|
||
|
||
<logger name="code.snippet" level="info" /> | ||
<logger name="net.liftweb" level="warn" /> | ||
<logger name="bootstrap.liftweb" level="info" /> | ||
<root level="warn"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
</configuration> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.