# HG changeset patch # User Tomas Zeman # Date 1301473502 -7200 # Node ID 69e26359f2c883eb5fd86bfb0e7f0e0cded9361d # Parent 425fbe48f1159e86ef38220a44a8affbb8ead66e Project build, .vimrc diff -r 425fbe48f115 -r 69e26359f2c8 .vimrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.vimrc Wed Mar 30 10:25:02 2011 +0200 @@ -0,0 +1,6 @@ +set backupdir=~/tmp +set directory=~/tmp +set tags=tags,~/scala-2.8.1.tags,~/lift-2.3-M1.tags,~/joda-time-1.6.2.tags,~/jse6.tags +set et +set ts=2 +set sw=2 diff -r 425fbe48f115 -r 69e26359f2c8 project/build.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/build.properties Wed Mar 30 10:25:02 2011 +0200 @@ -0,0 +1,7 @@ +# Copyright 2011 Tomas Zeman +project.organization=Tomas Zeman +project.name=RadView +sbt.version=0.7.4 +project.version=0.1-SNAPSHOT +build.scala.versions=2.8.1 +project.initialize=false diff -r 425fbe48f115 -r 69e26359f2c8 project/build/RadViewProject.scala --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/build/RadViewProject.scala Wed Mar 30 10:25:02 2011 +0200 @@ -0,0 +1,51 @@ +/* + * Copyright 2011 Tomas Zeman + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import sbt._ + +class RadViewProject(info: ProjectInfo) extends DefaultWebProject(info) { + + val liftVer = "2.3-M1" + + // lift + val lift_mapper = "net.liftweb" %% "lift-mapper" % liftVer + val lift_widgets = "net.liftweb" %% "lift-widgets" % liftVer + + // mysql + val mysql_conn = "mysql" % "mysql-connector-java" % "5.0.8" % "runtime" + + // logging + val logback = "ch.qos.logback" % "logback-classic" % "0.9.28" % "runtime" + + // servlet + jetty + val servlet = "javax.servlet" % "servlet-api" % "2.5" % "provided" + val jetty6 = "org.mortbay.jetty" % "jetty" % "6.1.23" % "test" + + // testing + val scalatest = "org.scalatest" % "scalatest" % "1.1" % "test" + val h2 = "com.h2database" % "h2" % "1.2.142" % "test" + + // use local mvn repo + val mavenLocal = "Local Maven Repository" at "file://" + Path.userHome + + "/.m2/repository" + + /* + override def compileOptions = super.compileOptions ++ + Seq(Unchecked) + */ +} + + +// vim: set ts=2 sw=2 et: