OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
12 stars 24 forks source link

Build lsp4ij plugin from a branch to use in the LTI automated tests #758

Closed anusreelakshmi934 closed 3 months ago

anusreelakshmi934 commented 4 months ago
anusreelakshmi934 commented 4 months ago

We can generate a zip file by executing ./gradlew buildPlugin within the lsp4ij repository. Afterward, we can move this zip file to a designated location within the Liberty Tools IntelliJ. Following this, we're ready to proceed with building out the Liberty Tools Integration and conducting tests.

anusreelakshmi934 commented 4 months ago

Attempted a method to construct the lsp4ij plugin from the main branch for use in the LTI automated tests. Essentially, checked out the lsp4ij main branch and used the buildPlugin command to create a zip file from it. This zip file is stored in LTI, and specified it as a plugin dependency in build.gradle. Link to branch - https://github.com/anusreelakshmi934/liberty-tools-intellij/tree/Issue%23758.

anusreelakshmi934 commented 3 months ago

https://github.com/OpenLiberty/liberty-tools-intellij/pull/833 - This PR has the changes for this issue.

anusreelakshmi934 commented 3 months ago

Checkout any branch of lsp4ij (main or any merge commit SHA) and use the buildPlugin command to create a ZIP file from it. Unzip the file and specify the path to the lib folder as a plugin dependency in build.gradle. Added the fixes for this in this Umbrella PR - https://github.com/OpenLiberty/liberty-tools-intellij/pull/840.