-
Notifications
You must be signed in to change notification settings - Fork 8
Training ‐ 1. Setting Up Integrated Development Environment using JetBrains IntelliJ IDEA
Michael Elmore edited this page Nov 13, 2023
·
2 revisions
- v1.4: requires Java 8
- v2.0: requires Java 11
- https://www.openlogic.com/openjdk-downloads
- Have completed Training ‐ Setting Up Development Environment
- Prerequisite: Training ‐ Setting Up Development Environment.
- If incomplete, skip to step 8
- Select Open
- Navigate to OSH SDK Location and click OK
- Clone OSH SDK directly from GIT
- Enter URL for Git Repository (1) and press Clone (2)
- Wait for cloning to complete (i.e. download)
- Trust project (if prompted)
- Success!
v1.4 – JDK 8
- Checkout master branch (osh-node-dev-template SDK)
- Checkout osh-core master branch
- Checkout osh-addons master branch
- Checkout osh-core/lib-ogc master branch
v2.0 – JDK 11
- Checkout v2-upgrade branch (osh-node-dev-template SDK)
- Checkout osh-core v2 branch
- Checkout osh-addons v2 branch
- Checkout osh-core/lib-ogc master branch
- Git Branch Selection
- osh-node-dev-template available branches
- osh-core and osh-addons submodules Each one lists the currently selected branch and provides a selection list to checkout a specific branch.
- Make sure you are consistent in the checkouts as per above!
- Open Settings
- Settings Dialog: Setting Java Complier Set the appropriate Java version
- Settings Dialog: Setting Gradle JVM Set the appropriate Java version
- Open Project Structure
- Set the appropriate Java Project SDK
- Open Gradle tool
- Modify Build Configuration (Right Mouse Click)
- Exclude Execution of Unit Tests
- A successful build will generate the build subdirectory
- The build will contain subdir distributions
- The zip file is the build target