From 16d6ec7f94b777afdcb6a13201616babed1ec1a8 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 13 Sep 2010 19:46:24 -0400 Subject: [PATCH] remove plugins, integration project definition --- project/build/SbtProject.scala | 62 ---------------------------------- project/plugins/Plugins.scala | 11 ------ 2 files changed, 73 deletions(-) delete mode 100644 project/build/SbtProject.scala delete mode 100644 project/plugins/Plugins.scala diff --git a/project/build/SbtProject.scala b/project/build/SbtProject.scala deleted file mode 100644 index 2f10c7c0f..000000000 --- a/project/build/SbtProject.scala +++ /dev/null @@ -1,62 +0,0 @@ -/* sbt -- Simple Build Tool - * Copyright 2008, 2009 Mark Harrah - */ -import sbt._ - -import java.io.File -import java.net.URL - -abstract class SbtProject(info: ProjectInfo) extends DefaultProject(info) with test.SbtScripted with posterous.Publish with Sxr -{ - /* Additional resources to include in the produced jar.*/ - def extraResources = descendents(info.projectPath / "licenses", "*") +++ "LICENSE" +++ "NOTICE" - override def mainResources = super.mainResources +++ extraResources - - override def normalizedName = "sbt" - - override def managedStyle = ManagedStyle.Ivy - //val publishTo = Resolver.file("technically", new File("/var/dbwww/repo/")) - val technically = Resolver.url("technically.us", new URL("http://databinder.net/repo/"))(Resolver.ivyStylePatterns) - - override def compileOptions = CompileOption("-Xno-varargs-conversion") :: Nil - - /** configuration of scripted testing **/ - // Set to false to show logging as it happens without buffering, true to buffer until it completes and only show if the task fails. - // The output of scripted tasks executed in parallel will be inteleaved if false. - override def scriptedBufferLog = true - // Configure which versions of Scala to test against for those tests that do cross building - override def scriptedBuildVersions = "2.7.7 2.7.5 2.7.2 2.8.0.RC6 2.8.0.RC3" - - override def useDefaultConfigurations = false - val default = Configurations.Default - val optional = Configurations.Optional - val provided = Configurations.Provided - val testConf = Configurations.Test - val docConf = Configurations.Javadoc - val srcConf = Configurations.Sources - - //testing - val scalacheck = "org.scala-tools.testing" %% "scalacheck" % "1.7" % "test" - - val ivy = "org.apache.ivy" % "ivy" % "2.1.0" intransitive() - val jsch = "com.jcraft" % "jsch" % "0.1.31" intransitive() - - val testInterface = "org.scala-tools.testing" % "test-interface" % "0.5" - - def concatPaths[T](s: Seq[T])(f: PartialFunction[T, PathFinder]): PathFinder = - { - def finder: T => PathFinder = (f orElse { case _ => Path.emptyPathFinder }) - (Path.emptyPathFinder /: s) { _ +++ finder(_) } - } - def deepSources = concatPaths(topologicalSort){ case p: ScalaPaths => p.mainSources } - lazy val sbtGenDoc = scaladocTask("sbt", deepSources, docPath, docClasspath, documentOptions) dependsOn(compile) - lazy val sbtDoc = packageTask(mainDocPath ##, packageDocsJar, Recursive) dependsOn(sbtGenDoc) - lazy val sbtSrc = packageTask(deepSources, packageSrcJar, packageOptions) dependsOn(compile) - - override def packageToPublishActions = super.packageToPublishActions //++ Seq(sbtSrc, sbtDoc, sxr) - - override def packageDocsJar = defaultJarPath("-javadoc.jar") - override def packageSrcJar= defaultJarPath("-sources.jar") - /*val sourceArtifact = Artifact(artifactID, "src", "jar", "sources") - val docsArtifact = Artifact(artifactID, "doc", "jar", "javadoc")*/ -} \ No newline at end of file diff --git a/project/plugins/Plugins.scala b/project/plugins/Plugins.scala deleted file mode 100644 index 214bfc542..000000000 --- a/project/plugins/Plugins.scala +++ /dev/null @@ -1,11 +0,0 @@ -import sbt._ - -import java.net.URL - -class Plugins(info: ProjectInfo) extends PluginDefinition(info) -{ - val scripted = "org.scala-tools.sbt" % "scripted" % "0.7.4" - val t_repo = "t_repo" at "http://tristanhunt.com:8081/content/groups/public/" - val posterous = "net.databinder" % "posterous-sbt" % "0.1.4" - val technically = Resolver.url("technically.us", new URL("http://databinder.net/repo/"))(Resolver.ivyStylePatterns) -}