IntelliJ IDEA

IntelliJ IDEA support is still experimental

The application project can be imported in IntelliJ IDEA as gradle project.

Before importing the project, run these commands:

$ cd /path/to/open-platform-demo
$ ./gradlew generateCode copyWebapp

From the startup dialog, click on Import Project and select the project directory. From next dialog, select Import project from external model and select Gradle. From next dialog, click on finish button.

  • repeat ./gradlew generateCode whenever you add/change any domain model definitions

  • repeat ./gradlew copyWebapp if you run gradle clean task or delete build directory

To run the application from IDEA, generate launcher config by running following command:

$ ./gradlew generateLauncher

You can see open-platform-demo (run) launcher configuration that you can use to run/debug application from the IDE.

make sure to build the project before launching the application