Print path to java executable Kotlin daemon was started with.
Useful for tests to validate toolchain correct behaviour. ^KT-45611 In Progress
This commit is contained in:
committed by
TeamCityServer
parent
85456bd6d8
commit
201b6dfa60
+5
-1
@@ -101,7 +101,11 @@ object KotlinCompilerClient {
|
|||||||
fun CompileService.leaseImpl(): CompileServiceSession? {
|
fun CompileService.leaseImpl(): CompileServiceSession? {
|
||||||
// the newJVMOptions could be checked here for additional parameters, if needed
|
// the newJVMOptions could be checked here for additional parameters, if needed
|
||||||
registerClient(clientAliveFlagFile.absolutePath)
|
registerClient(clientAliveFlagFile.absolutePath)
|
||||||
reportingTargets.report(DaemonReportCategory.DEBUG, "connected to the daemon")
|
val javaExecutablePath = compilerId.javaExecutable?.absolutePath ?: "'user jvm'"
|
||||||
|
reportingTargets.report(
|
||||||
|
DaemonReportCategory.DEBUG,
|
||||||
|
"connected to the daemon. Daemon is using following 'java' executable to run itself: $javaExecutablePath"
|
||||||
|
)
|
||||||
|
|
||||||
if (!leaseSession) return CompileServiceSession(this, CompileService.NO_SESSION)
|
if (!leaseSession) return CompileServiceSession(this, CompileService.NO_SESSION)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user