Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task runIde failed when increasing org.jetbrains.intellij to version 1.11.0 #1259

Closed
david-buderus opened this issue Dec 19, 2022 · 1 comment

Comments

@david-buderus
Copy link

david-buderus commented Dec 19, 2022

When upgrading the gradle plugin org.jetbrains.intellij to version 1.11.0 we encounter the following error when executing ./gradlew runIde:

Execution failed for task ':instrumentCode'.
> taskdef class com.intellij.ant.InstrumentIdeaExtensions cannot be found
   using the classloader AntClassLoader[/home/david/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1/cbeeb1f1aebd4c9ea8fb5ab990c5904a676fc41a/ideaIC-2020.1/lib/asm-all-7.0.1.jar:/home/david/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1/cbeeb1f1aebd4c9ea8fb5ab990c5904a676fc41a/ideaIC-2020.1/lib/jdom.jar:/home/david/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1/cbeeb1f1aebd4c9ea8fb5ab990c5904a676fc41a/ideaIC-2020.1/lib/forms-1.1-preview.jar:/home/david/Downloads/gradleIntellij/intellij-platform-plugin-template-main/.gradle]

When downgrading the gradle plugin org.jetbrains.intellij to version 1.10.2 everything works fine.

See the attached minimal example that is based on the IntelliJ Platform Plugin Template intellij-platform-plugin-template-main.zip.

The problem might be related to the build version that is configured. Everything works fine with version 1.11.0 and the following version setting:

pluginSinceBuild = 213
pluginUntilBuild = 223.*
platformType = IC
platformVersion = 2021.3.3

But when decreasing the version settings to:

pluginSinceBuild = 201
pluginUntilBuild = 223.*
platformType = IC
platformVersion = 2020.1

the error described above occurs.

Performed on:
Ubuntu 22.04

@hsz hsz added this to the next milestone Dec 19, 2022
@hsz hsz closed this as completed Dec 19, 2022
@hsz hsz added the duplicate label Dec 19, 2022
@hsz
Copy link
Member

hsz commented Dec 19, 2022

Duplicate of #1255 – please follow that thread for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants