From 4582f42748cc57471cbe2e683ec0793a8293cf02 Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Mon, 14 Jul 2014 18:38:39 +0400 Subject: Include JDK symbols. --- src/main.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main.kt') diff --git a/src/main.kt b/src/main.kt index 56717a80..ef46849a 100644 --- a/src/main.kt +++ b/src/main.kt @@ -4,6 +4,7 @@ import com.sampullara.cli.* import com.intellij.openapi.util.* import org.jetbrains.jet.cli.common.messages.* import org.jetbrains.jet.cli.common.arguments.* +import org.jetbrains.jet.utils.PathUtil class DokkaArguments { Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)") @@ -22,10 +23,8 @@ public fun main(args: Array) { val sources: List = sourceFiles ?: listOf() val environment = AnalysisEnvironment(MessageCollectorPlainTextToStream.PLAIN_TEXT_TO_SYSTEM_ERR) { - /* - addClasspath(PathUtil.getJdkClassesRoots()) - addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath()) - */ + addClasspath(PathUtil.getJdkClassesRoots()) + // addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath()) addSources(sources) } -- cgit