mirror of https://github.com/sbt/sbt.git
Fixed compiler-project test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@896 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
parent
c8f0a72da9
commit
c94decd6cd
|
|
@ -2,6 +2,6 @@ import sbt._
|
|||
|
||||
class TestProject(info: ProjectInfo) extends DefaultProject(info)
|
||||
{
|
||||
override def useMavenConfigurations = true
|
||||
override def unmanagedClasspath = super.unmanagedClasspath +++ Path.fromFile(FileUtilities.sbtJar)
|
||||
val sc = "org.scala-tools.testing" % "scalacheck" % "1.5" % "test->default"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import scala.tools.nsc.{Interpreter, Settings}
|
|||
|
||||
class Foo {
|
||||
val settings = new Settings()
|
||||
settings.classpath.value = FileUtilities.toFile(classOf[Holder].getProtectionDomain.getCodeSource.getLocation).getAbsolutePath
|
||||
settings.classpath.value = sbt.FileUtilities.classLocationFile[Holder].getAbsolutePath
|
||||
val inter = new Interpreter(settings)
|
||||
|
||||
def eval(code: String): Any = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue