OpenL Tablets has an archetype which can be used to create a simple OpenL Tablets rules project containing an example of OpenL Maven plugin usage.
The current project is ready to deploy to OpenL Rule Services and provides an example of a pure OpenL Tablets rules project with separated main and test modules.
mvn archetype:generate
openl-project-archetype
menu item and follow the wizard instructions to complete project creation.
When a new Maven-based project is created, it appears in the file system:
The directory structure is described here.
mvn install
After that, the following objects can be found the target
folder:
This archive contains only the main project from the src/main/openl directory and can be deployed to the OpenL Tablets Rule Services.
For more information, see [OpenL Tablets Rule Services Usage and Customization Guide].
All test tables from the test project executed on the Maven test goal are not included to the final ZIP archive.
The current project uses OpenL Tablets engine to demonstrate how OpenL Tablets rules usage in a Java application.
mvn archetype:generate
Maven runs an archetype console wizard.
openl-simple-project-archetype
menu item.When a new Maven-based project is created, it appears in the file system. It is an OpenL Tablets rules project which has one module with simple rules.
mvn install
After that, the following objects can be found the target
folder:
For more information, see [OpenL Tablets WebStudio User Guide].
It demonstrates how OpenL Tablets rules can be invoked from the Java code.