-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Labels
Description
What happened?
Given:
allprojects {
dependencies {
intellijPlatform {
create("IC", "2025.1") {
useInstaller = true
}
testFramework(TestFrameworkType.Platform)
}
}
}
I can run the tests in my plugin without issues. However, when using an EAP snapshot I get the error:
- Could not find installation home path. Please make sure product-info.json is present in the installation directory.
I suspect that this is due to the useInstaller = false, but that is necessary as the EAP snapshot builds are not packaged with the full installer setup (e.g. with a JetBrains Runtime) like the release builds are.
Relevant log output or stack trace
java.lang.RuntimeException: Could not find installation home path. Please make sure product-info.json is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:113)
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:82)
at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:95)
at com.intellij.testFramework.TestLoggerFactory.getLoggerInstance(TestLoggerFactory.java:80)
at com.intellij.openapi.diagnostic.Logger.getInstance(Logger.java:111)
at ...Steps to reproduce
allprojects {
dependencies {
intellijPlatform {
create("IC", "LATEST-EAP-SNAPSHOT") {
useInstaller = false
}
jetbrainsRuntime()
testFramework(TestFrameworkType.Platform)
}
}
}
Gradle IntelliJ Plugin version
2.7.0
Gradle version
8.10
Operating System
Linux
Link to build, i.e. failing GitHub Action job
https://github.com/rhdunn/xquery-intellij-plugin/actions/runs/16632708666/job/47065997938#step:6:343