settle scala-library situation

This commit is contained in:
Mark Harrah
2011-05-25 22:44:22 -04:00
parent e840d66622
commit 85a55c25bf
10 changed files with 28 additions and 21 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ object JavaCompiler
new JavaCompiler {
def apply(sources: Seq[File], classpath: Seq[File], outputDirectory: File, options: Seq[String])(implicit log: Logger) {
val augmentedClasspath = if(cp.autoBoot) classpath ++ Seq(scalaInstance.libraryJar) else classpath
val javaCp = new ClasspathOptions(false, cp.compiler, false, false)
val javaCp = ClasspathOptions.javac(cp.compiler)
val arguments = (new CompilerArguments(scalaInstance, javaCp))(sources, augmentedClasspath, outputDirectory, options)
log.debug("running javac with arguments:\n\t" + arguments.mkString("\n\t"))
val code: Int = f(arguments, log)