Create project using Maven archetype

OpenL Tablets has archetype which can be used to create simple OpenL Rules project.

Execute in command line the following command:

mvn archetype:generate

Maven runs archetype console wizard. Select openl-simple-project-archetype menu item. Follow with maven creation wizard.

After all steps are done you should have new maven based project on file system. It’s a OpenL Rules project which has one module with simple rules.

Execute in command line the following command from root of project folder to compile project:

mvn install

Create project manually

OpenL doesn’t oblige user to use predefined ways of project creation process and provides way to use your own project structure. You can use OpenL Project Resolving mechanism as a base for your project structure definition. Depends on resolving strategy you need create more or less files and folders but several project’s elements must be defined.See Project’s elements section of the current document for more details.