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:
dmharrah 2009-07-27 15:33:34 +00:00
parent c8f0a72da9
commit c94decd6cd
2 changed files with 2 additions and 2 deletions

View File

@ -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"
}

View File

@ -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 = {