-
Notifications
You must be signed in to change notification settings - Fork 7
How to build and develop CLI in IntelliJ IDEA
Yuriy Artamonov edited this page Jun 30, 2018
·
4 revisions
We use IntelliJ Idea IDE for development. Just import the project as Gradle project.
In order to build and run cuba-cli from IDE use the following steps:
- Clone CUBA CLI project to your workspace.
- In Idea choose File -> Open, specify cloned project
build.gradlefile. ClickOpen as Project,OK. - Navigate to
src/main/kotlin/com/haulmont/cuba/cli/EntryPoint.kt - Right click on file, choose
Create 'com.haulmont.cuba.cli.EntryPointKt' run configuration. - Open created configuration.
- In
VM options fieldadd--patch-module com.haulmont.cuba.cli=./out/production/resources. - Now, you can launch CLI.