Skip to content

Commit

Permalink
fix issue with container resolved css, updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Oct 1, 2011
1 parent 32779ca commit c3af38b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/main/g8/build.sbt
Expand Up @@ -8,7 +8,7 @@ libraryDependencies ++= Seq(
"net.databinder" %% "unfiltered-filter" % "$unfiltered_version$",
"javax.servlet" % "servlet-api" % "2.3" % "provided",
"org.eclipse.jetty" % "jetty-webapp" % "7.4.5.v20110725" % "jetty",
"org.clapper" %% "avsl" % "0.3.1"
"org.clapper" %% "avsl" % "0.3.6"
)

seq(webSettings :_*)
seq(webSettings :_*)
2 changes: 1 addition & 1 deletion src/main/g8/default.properties
@@ -1,4 +1,4 @@
name=My Web Project
version=0.1.0-SNAPSHOT
unfiltered_version=0.4.1
unfiltered_version=0.5.0
description=This template generates an Unfiltered project. By default it depends on "unfiltered-filter".
6 changes: 4 additions & 2 deletions src/main/g8/project/plugins/build.sbt
@@ -1,4 +1,6 @@
resolvers += "Web plugin repo" at "http://siasia.github.com/maven2"

libraryDependencies <+= sbtVersion(v =>
"com.github.siasia" %% "xsbt-web-plugin" % ("0.1.1-"+v))
addSbtPlugin("com.github.siasia" %% "xsbt-web-plugin" % "0.1.2")

//libraryDependencies <+= sbtVersion(v =>
// "com.github.siasia" %% "xsbt-web-plugin" % ("0.1.1-"+v))
10 changes: 5 additions & 5 deletions src/main/g8/src/main/scala/Example.scala
Expand Up @@ -12,11 +12,11 @@ class App extends unfiltered.filter.Plan {
val logger = Logger(classOf[App])

def intent = {
case GET(Path(p)) =>
logger.debug("GET %s" format p)
case GET(Path("/")) =>
logger.debug("GET /")
Ok ~> view(Map.empty)(<p> What say you? </p>)
case POST(Path(p) & Params(params)) =>
logger.debug("POST %s" format p)
case POST(Path("/") & Params(params)) =>
logger.debug("POST /")
val vw = view(params)_
val expected = for {
int <- lookup("int") is
Expand All @@ -39,7 +39,7 @@ class App extends unfiltered.filter.Plan {
<html>
<head>
<title>uf example</title>
<link rel="stylesheet" type="text/css" href="/assets/css/app.css"/>
<link rel="stylesheet" type="text/css" href="/css/app.css"/>
</head>
<body>
<div id="container">
Expand Down
File renamed without changes.

0 comments on commit c3af38b

Please sign in to comment.