From ee02ad59ce2c42758712a1385f33ce962ae4107c Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Mon, 26 Oct 2009 09:56:33 +0000 Subject: new classpaths. --- test/files/run/docgenerator.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/files/run/docgenerator.scala') diff --git a/test/files/run/docgenerator.scala b/test/files/run/docgenerator.scala index f3738f4fc0..59f90ba415 100644 --- a/test/files/run/docgenerator.scala +++ b/test/files/run/docgenerator.scala @@ -113,6 +113,8 @@ object Foo2 { var reporter: ConsoleReporter = _ def process(args: Array[String]) { val docSettings = new scala.tools.nsc.doc.Settings(error) + // when running that compiler, give it a scala-library to the classpath + docSettings.classpath.value = System.getProperty("java.class.path") reporter = new ConsoleReporter(docSettings) val command = new CompilerCommand(args.toList, docSettings, error, false) try { -- cgit v1.2.3