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

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

Closed
2 tasks
anusreelakshmi934 opened this issue May 17, 2024 · 4 comments
Closed
2 tasks
Assignees
Milestone

Comments

@anusreelakshmi934
Copy link
Contributor

anusreelakshmi934 commented May 17, 2024

  • Checkout an lsp4ij branch and create a zip file with that. Install the zip file in the workflow.
  • Similar to what we are doing with liberty-tools-intellij, that is using bash ./gradlew buildPlugin, check wheather we can checkout the latest merge commit and run ./gradlew buildPlugin
@anusreelakshmi934 anusreelakshmi934 changed the title Build lsp4ij plugin from a branch to use in the LTI automated tests ( Build lsp4ij plugin from a branch to use in the LTI automated tests May 17, 2024
@TrevCraw TrevCraw added this to the 24.0.7 milestone May 17, 2024
@anusreelakshmi934
Copy link
Contributor Author

anusreelakshmi934 commented May 23, 2024

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
Copy link
Contributor Author

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
Copy link
Contributor Author

#833 - This PR has the changes for this issue.

@anusreelakshmi934
Copy link
Contributor Author

anusreelakshmi934 commented Jun 25, 2024

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 - #840.

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

No branches or pull requests

2 participants