Skip to content

Commit

Permalink
Everything now builds. Partest is bombing about reflection issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed May 10, 2012
1 parent d9ca44b commit b84cbda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 153 deletions.
9 changes: 5 additions & 4 deletions project/Build.scala
Expand Up @@ -148,13 +148,14 @@ object ScalaBuild extends Build with Layers {
lazy val externalDeps: Setting[_] = libraryDependencies <<= (sbtVersion)(v =>
Seq(
"org.apache.ant" % "ant" % "1.8.2",
"org.scala-tools.sbt" % "compiler-interface" % v % "provided"
"org.scala-sbt" % "compiler-interface" % v % "provided"
)
)

// These are setting overrides for most artifacts in the Scala build file.
def settingOverrides: Seq[Setting[_]] = publishSettings ++ Seq(
crossPaths := false,
autoScalaLibrary := false,
publishArtifact in packageDoc := false,
publishArtifact in packageSrc := false,
target <<= (baseDirectory, name) apply (_ / "target" / _),
Expand All @@ -170,7 +171,7 @@ object ScalaBuild extends Build with Layers {
skip in Compile <<= lockFile.map(_ exists),
lock <<= lockFile map { f => IO.touch(f) },
unlock <<= lockFile map IO.delete
) ++ CheatingCompilerSettings.settings
)

// --------------------------------------------------------------
// Libraries used by Scalac that change infrequently
Expand Down Expand Up @@ -327,7 +328,7 @@ object ScalaBuild extends Build with Layers {
// Testing
// --------------------------------------------------------------
/* lazy val scalacheckSettings: Seq[Setting[_]] = Seq(fullQuickScalaReference, crossPaths := false)*/
lazy val scalacheck = uri("git://github.com/rickynils/scalacheck.git")
lazy val scalacheck = uri("git://github.com/jsuereth/scalacheck.git#scala-build")

lazy val testsuiteSettings: Seq[Setting[_]] = compilerDependentProjectSettings ++ partestTaskSettings ++ VerifyClassLoad.settings ++ Seq(
unmanagedBase <<= baseDirectory / "test/files/lib",
Expand Down Expand Up @@ -518,7 +519,7 @@ object ScalaBuild extends Build with Layers {
// Add in some more dependencies
makeDistMappings <<= (makeDistMappings,
packageBin in swing in Compile) map {
(dist, s, d) =>
(dist, s) =>
dist ++ Seq(s -> "lib/scala-swing.jar")
},
makeDist <<= (makeDistMappings, baseDirectory, streams) map { (maps, dir, s) =>
Expand Down
148 changes: 0 additions & 148 deletions project/CheatingComponentCompiler.scala

This file was deleted.

1 change: 0 additions & 1 deletion project/Layers.scala
Expand Up @@ -70,7 +70,6 @@ trait Layers extends Build {
resourceDirectory in Compile <<= baseDirectory apply (_ / "src" / "compiler"),
unmanagedSourceDirectories in Compile <+= (baseDirectory) apply (_ / "src" / "msil"),
defaultExcludes := ("tests"),
javacOptions ++= Seq("-source", "1.4"),
defaultExcludes in unmanagedResources := "*.scala",
resourceGenerators in Compile <+= (resourceManaged, Versions.scalaVersions, streams) map Versions.generateVersionPropertiesFile("compiler.properties"),
// Note, we might be able to use the default task, but for some reason ant was filtering files out. Not sure what's up, but we'll
Expand Down

0 comments on commit b84cbda

Please sign in to comment.