Skip to content

Latest commit

 

History

History

_intellij-project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

KIE Tools @ IntelliJ IDEA

To make it easier for developing Java-, Maven-based packages, this folder contains an IntelliJ IDEA project configured for select packages. It currently includes all Maven-based packages of KIE Tools. Two additional IntelliJ IDEA project modules are included too, given their "global" nature on the KIE Tools repository -- scripts and root-env.

Importing this project on IntelliJ IDEA

After cloning kie-tools locally:

  1. Bootstrap the repository with pnpm bootstrap [pnpm-filter?] command to wire everything together and configure .mvn/maven.config files for all packages. You only need to do it once per clone or when you change the dependency graph on package.json files.
  2. Build the repository in development mode with pnpm [pnpm-filter?] build:dev to make sure your local Maven repository (Usually ~/.m2/repository) is populated.

It's recommended to that before opening IntelliJ IDEA to make indexing faster once you do.

Once prompted by IntelliJ IDEA, select "Open" and choose this folder.

Open

Select folder


After you're done importing the project, please also configure the code formatter (or Code Style, in IntelliJ IDEA terminology.)

Apache KIE Tools uses an Eclipse Formatter XML, so please install https://plugins.jetbrains.com/plugin/6546-adapter-for-eclipse-code-formatter and configure it like in the screenshot below:

Configure Eclipse formatter


You should now be able to develop all Java- and Maven-based projects normally.


For more information on Maven-based packages on KIE Tools, please refere to the KIE Tools :: Manual.