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

Update Build Documentation for IntelliJ 2023.3.0 #92

Open
johnthagen opened this issue Dec 8, 2023 · 4 comments
Open

Update Build Documentation for IntelliJ 2023.3.0 #92

johnthagen opened this issue Dec 8, 2023 · 4 comments
Assignees

Comments

@johnthagen
Copy link
Owner

I trying to do a release for #91, I checked out the repo and install IntelliJ 2023.3.0. I followed the steps at https://jetbrains.org/intellij/sdk/docs/basics/getting_started/setting_up_environment.html and

  • Installed the Plugin Devit plugin
  • Downloaded a JDK through IntelliJ and added it to the project: openjdk-21
  • Added IntelliJ Platform Plugin SDK: Pointed at install directory for IntelliJ 2023.3.0
  • Checked out IntelliJ Community source code and added it to the SDK Sourcepath in Platform Settings | SDK

When I try to build the plugin, I get build errors:

clion-cppcheck\src\com\github\johnthagen\cppcheck\Configuration.java:3:36
java: package com.intellij.openapi.options does not exist
Screenshot 2023-12-07 205711

@firewave Do the build instructions need updated? I know that the guts of this plugin haven't been updated in a long time (e.g., #69 would be ideal). Are you still able to build it on a clean install of IntelliJ 2023.3.0?

@firewave
Copy link
Collaborator

firewave commented Dec 8, 2023

Same issue here. I haven't build it in a while and the last version I used was 2023.1.

It looks like you now need a Gradle-based project to build it.

Maybe just for getting this update out could you install 2023.1 again? I will tackle the update to Gradle as my next task for the plugin then.

@johnthagen
Copy link
Owner Author

@firewave Thanks for the tip. I was able to build the plugin using 2023.1.5.

1.6.3 has been uploaded and is awaiting moderation from the JetBrains teams. The notice says this may take up to two business days.

@firewave
Copy link
Collaborator

firewave commented Dec 12, 2023

I found the issue. You simply need to add a new Plugin SDK as they split off some code into separate JAR files and they are missing if you have an existing SDK.

@johnthagen
Copy link
Owner Author

If you are able to update the README here: https://github.com/johnthagen/clion-cppcheck?tab=readme-ov-file#development

that would be awesome.

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

No branches or pull requests

2 participants