Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added build.sbt.

  • Loading branch information...
commit c748bd5073eda942d35936052961d8acd8e3e4f6 1 parent 722549b
@ripla authored
View
0  .gitignore 100644 → 100755
File mode changed
View
0  README.md 100644 → 100755
File mode changed
View
0  build.sbt 100644 → 100755
File mode changed
View
0  project/plugins.sbt 100644 → 100755
File mode changed
View
0  src/main/g8/default.properties 100644 → 100755
File mode changed
View
0  src/main/g8/project/Build.scala 100644 → 100755
File mode changed
View
33 src/main/g8/project/build.sbt
@@ -0,0 +1,33 @@
+import net.thunderklaus.GwtPlugin._
+
+name := "$name$"
+
+scalaVersion := "2.9.1"
+
+seq(webSettings: _*)
+
+seq(gwtSettings: _*)
+
+resolvers += "Vaadin add-ons repository" at "http://maven.vaadin.com/vaadin-addons"
+
+// basic dependencies
+libraryDependencies ++= Seq(
+ "com.vaadin" % "vaadin" % "6.7.4",
+ "org.vaadin.addons" % "scala-wrappers" % "0.2.0",
+ "org.eclipse.jetty" % "jetty-webapp" % "8.0.4.v20111024" % "container"
+)
+
+libraryDependencies ++= Seq(
+ //Add add-ons from the directory here. e.g.
+ //"org.vaadin.addons" % "ratingstars" % "1.4"
+)
+
+
+
+// hack: sbt-gwt-plugin assumes that sources are in src/main/java
+javaSource in Compile <<= (scalaSource in Compile)
+
+gwtModules := List("$package$.$classname$Widgetset")
+
+// more correct place would be to compile widgetset under the target dir and configure jetty to find it from there
+gwtTemporaryPath := file(".") / "src" / "main" / "webapp" / "VAADIN" / "widgetsets"
View
0  src/main/g8/project/plugins.sbt 100644 → 100755
File mode changed
View
0  src/main/g8/src/main/scala/$package$/$classname$Application.scala 100644 → 100755
File mode changed
View
0  src/main/g8/src/main/webapp/WEB-INF/web.xml 100644 → 100755
File mode changed
Please sign in to comment.
Something went wrong with that request. Please try again.