Skip to content

Commit

Permalink
Update the build instructions in DEVELOPING.md
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gooderham <[email protected]>
  • Loading branch information
turkeylurkey committed Oct 24, 2023
1 parent d3a9238 commit 954e22c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
6 changes: 4 additions & 2 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
This extension is built using the [gradle-intellij-plugin](https://github.com/JetBrains/gradle-intellij-plugin/).

1. Clone this repository: `git clone [email protected]:OpenLiberty/liberty-tools-intellij.git`
2. Clone the lsp4ij repository: `git clone [email protected]:liberty-dev-ex/intellij-lsp-common-provider.git`
2. Clone the lsp4ij repository: `git clone [email protected]:MicroShed/lsp4ij.git`
3. Build lsp4ij: `./gradlew jar`
4. Save it in your local Maven repository: `mvn install:install-file -Dfile=build/libs/lsp4ij-0.0.5.jar -DgroupId=org.microshed -DartifactId=lsp4ij -Dversion=0.0.5 -Dpackaging=jar -DgeneratePom=true;`
2. Import this repository as a Gradle project in IntelliJ IDEA
3. Run `./gradlew runIde --stacktrace`. A new IntelliJ IDEA window will launch with the Liberty Tools plugin installed to it. You can connect the IntelliJ IDEA debugger to this process to debug the plugin.

OR

Run `./makeDualZip` to build an installable zip in `build/distributions/liberty-tools-intellij-xxx.uber.zip`. You can install this zip in IntelliJ IDEA through **Preferences > Plugins > Gear icon > Install Plugin from Disk...** and select the `liberty-tools-intellij-xxx.uber.zip`.
Run `./gradlew buildPlugin` to build an installable zip in `build/distributions/liberty-tools-intellij-xxx.zip`. You can install this zip in IntelliJ IDEA through **Preferences > Plugins > Gear icon > Install Plugin from Disk...** and select the `liberty-tools-intellij-xxx.zip`.

## Language Servers

Expand Down
26 changes: 0 additions & 26 deletions makeDualZip

This file was deleted.

0 comments on commit 954e22c

Please sign in to comment.