Proper kotlinHome in compiler messages
This commit is contained in:
@@ -69,7 +69,7 @@ public class KotlinCompilerRunner {
|
|||||||
String compilerClassName = "org.jetbrains.jet.cli.jvm.K2JVMCompiler";
|
String compilerClassName = "org.jetbrains.jet.cli.jvm.K2JVMCompiler";
|
||||||
String[] arguments = commandLineArguments(environment.getOutput(), scriptFile);
|
String[] arguments = commandLineArguments(environment.getOutput(), scriptFile);
|
||||||
messageCollector.report(CompilerMessageSeverity.INFO,
|
messageCollector.report(CompilerMessageSeverity.INFO,
|
||||||
"Using kotlinHome=" + environment.getKotlinPaths(),
|
"Using kotlinHome=" + environment.getKotlinPaths().getHomePath(),
|
||||||
CompilerMessageLocation.NO_LOCATION);
|
CompilerMessageLocation.NO_LOCATION);
|
||||||
messageCollector.report(CompilerMessageSeverity.INFO,
|
messageCollector.report(CompilerMessageSeverity.INFO,
|
||||||
"Invoking in-process compiler " + compilerClassName + " with arguments " + Arrays.asList(arguments),
|
"Invoking in-process compiler " + compilerClassName + " with arguments " + Arrays.asList(arguments),
|
||||||
|
|||||||
Reference in New Issue
Block a user