[starter eel] AT-1851 Hide eel initialization under flag

GitOrigin-RevId: b9cdfff5f82f27d69300de308bcc6e05f26b236e
This commit is contained in:
Nikita Kudrin
2025-02-03 13:36:22 +02:00
committed by intellij-monorepo-bot
parent 3e88f0a111
commit ba60970bd8

View File

@@ -213,8 +213,12 @@ private fun runScriptDuringIndexing(project: Project, alarm: Alarm) {
@Internal
class ProjectLoaded : ApplicationInitializedListener {
override suspend fun execute() {
IntegrationTestApplicationLoadListener.projectPathFromCommandLine?.run {
EelInitialization.runEelInitialization(this)
// Under flag since a proper solution should be implemented in the platform later
// https://youtrack.jetbrains.com/issue/IJPL-176231/ProductionWslIjentAvailabilityService-Registry-key-wsl.use.remote.agent.for.nio.filesystem-is-not-defined
if (System.getenv("STARTER_TESTS_SUPPORT_TARGETS").toBoolean()) {
IntegrationTestApplicationLoadListener.projectPathFromCommandLine?.run {
EelInitialization.runEelInitialization(this)
}
}
if (System.getProperty("com.sun.management.jmxremote") == "true") {