-
Notifications
You must be signed in to change notification settings - Fork 2
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
Reproducible build #3
Comments
@jonasmanuel can you take care of this? |
Hi, |
Until we have a setup that works just from gradle:
The Plugin Module zip should be exported to the root of the project folder. |
In #4 you mentioned you are using the EAP version of IntelliJ. I will look into what changed and try to support the current version of intelliJ. However I did not see any mention of the missing classes and packages in the list of incompatible API changes , so I am unsure why they would not be available any more. |
One thing I noticed at one point was that I needed to build intellij community from source in order to get libraries with all the APIs that I found on the Web. If the changes are not listed, perhaps we need to do that again? |
I just managed to build intellij community from github, and our plugin built with that for me. The main change I needed was an extra dependency in plugin.xml, or the plugin could not find needed classes at runtime. That is pushed. I am currently running the plugin on IntelliJ IDEA 2020.3 |
Probably we will need to fix something soon, because ProjectComponent has been deprecated. For now, things seem to work, though. |
Thanks for looking into it. Did not occur to me that building yourself would change the classes deployed in the SDK. Thats quite strange.
I do not see the commit oO. Can you push it again? |
i push to the 'ibm' branch |
oh ok |
I was looking at the newly-deprecated PluginComponent, and it looks like there are new APIs that we are supposed to use: documentation A quick look suggests the migration will not be hard, but will be a bit of tedious work. |
As a first fix I think we can just use StartupActivity register a dispose listener to the Project to be notified of projects opening and closing. I have now figured out the gradle build and with the added dependency on the java module it seems to produce a valid and deployable plugin that runs in the latest intellij. |
Sorry for the delay as it's ICSE now. Looks awesome to me, thank you for fixing this - I will take a look and get back to you here. |
Thank you for sharing interesting plugin!
Right now, there does not seem to be an easy way to build the plugin locally from the sources.
It would be nice to set up a reproducible build instructions that would allow that e.g using gradle / https://github.com/JetBrains/gradle-intellij-plugin or any other way.
The text was updated successfully, but these errors were encountered: