-
Notifications
You must be signed in to change notification settings - Fork 269
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
Wrong IDE platform prefix #1525
Comments
Undin
added a commit
to JetBrains/educational-plugin
that referenced
this issue
Jan 11, 2024
…llij plugin It's a temporary workaround for JetBrains/intellij-platform-gradle-plugin#1525
Undin
added a commit
to JetBrains/educational-plugin
that referenced
this issue
Jan 11, 2024
…llij plugin It's a temporary workaround for JetBrains/intellij-platform-gradle-plugin#1525
Undin
added a commit
to JetBrains/educational-plugin
that referenced
this issue
Jan 11, 2024
…llij plugin It's a temporary workaround for JetBrains/intellij-platform-gradle-plugin#1525
hsz
added a commit
that referenced
this issue
Jan 12, 2024
The issue is caused by improper shell script scanning to discover the platform prefix. |
Undin
added a commit
to JetBrains/educational-plugin
that referenced
this issue
Jan 20, 2024
And drop all workarounds which are redundant anymore since the corresponding bugs are fixed in the plugin itself: JetBrains/intellij-platform-gradle-plugin#1515 and JetBrains/intellij-platform-gradle-plugin#1525
Undin
added a commit
to JetBrains/educational-plugin
that referenced
this issue
Jan 26, 2024
…llij plugin It's a temporary workaround for JetBrains/intellij-platform-gradle-plugin#1525
Undin
added a commit
to JetBrains/educational-plugin
that referenced
this issue
Jan 26, 2024
And drop all workarounds which are redundant anymore since the corresponding bugs are fixed in the plugin itself: JetBrains/intellij-platform-gradle-plugin#1515 and JetBrains/intellij-platform-gradle-plugin#1525
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Starting with 2023.3.2 IDE launched by
RunIdeBase
task has the wrong platform prefix, it's alwaysJetBrainsClient
.It happens because this code finds
-Didea.platform.prefix=JetBrainsClient
param inbin/jetbrains_client.sh
file of IDE artifact and it considersJetBrainsClient
as IDE platform prefix.As a result, any checks based on platform prefix, for example, all checks in
com.intellij.util.PlatformUtils
, work unexpectedly for such IDE instances.Relevant log output or stack trace
No response
Steps to reproduce
Add
val platformPrefix = PlatformUtils.getPlatformPrefix()
anywhere using 2023.3.2 IDE builds and check valueGradle IntelliJ Plugin version
1.16.1
Gradle version
8.5
Operating System
macOS
Link to build, i.e. failing GitHub Action job
No response
The text was updated successfully, but these errors were encountered: