Skip to content

Commit

Permalink
Merge branch 'master' into scala-2.8
Browse files Browse the repository at this point in the history
Conflicts:
	project/build/src/StepProject.scala
  • Loading branch information
rossabaker committed May 14, 2010
2 parents 8bf49eb + 76455d4 commit 01e968d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Expand Up @@ -2,4 +2,10 @@
lib_managed/
project/boot/
project/build/target/
project/plugins/project/build.properties
src_managed/
target/
*.eml
*.iml
*.ipr
*.iws
10 changes: 8 additions & 2 deletions project/build/src/StepProject.scala
Expand Up @@ -4,14 +4,20 @@ class StepProject(info: ProjectInfo) extends ParentProject(info)
{
override def shouldCheckOutputDirectories = false

val jettyGroupId = "org.mortbay.jetty"
val jettyVersion = "6.1.22"

lazy val core = project("core", "step", new CoreProject(_))
class CoreProject(info: ProjectInfo) extends DefaultProject(info) {
val jettytester = "org.mortbay.jetty" % "jetty-servlet-tester" % "6.1.22" % "provided->default"
val jettytester = jettyGroupId % "jetty-servlet-tester" % jettyVersion % "provided"
val scalatest = "org.scalatest" % "scalatest" % scalatestVersion(crossScalaVersionString) % "provided->default"
val mockito = "org.mockito" % "mockito-core" % "1.8.2" % "test"
}

lazy val example = project("example", "step-example", new DefaultWebProject(_), core)
lazy val example = project("example", "step-example", new ExampleProject(_), core)
class ExampleProject(info: ProjectInfo) extends DefaultWebProject(info) {
val jetty6 = jettyGroupId % "jetty" % jettyVersion % "test"
}

def scalatestVersion(scalaVersion: String) = {
scalaVersion match {
Expand Down

0 comments on commit 01e968d

Please sign in to comment.