Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)

Importing The Rules Library

To make use of the Rules Library within the DSL it must be imported into the solution and the model, and the Java classes should be added to the external library module.

Import into the Solution

  • Open MPS to the solution you intend to use the Rules Library within.

  • Right-click on the solution and select "Module Properties"

Module properties
  • Select the "Dependencies" tab and click the plus symbol in the top left corner

  • Search for one the devkit and select it

Import rules library
  • Click apply

Import into the Model

  • Right-click the model and select "Model Properties"

Module properties
  • Select the "Dependencies" tab and click the plus symbol in the top left corner

  • Search for the required function library of the form com.iconsolutions.simple.library.* (epc,iso or common)

Import rules library
  • Click apply

Import the Java classes of the functions

  • Within IntelliJ go to the pom of the external libraries module

  • Add this dependency

<dependency>
    <groupId>com.iconsolutions.dsl</groupId>
    <artifactId>icon-languages-runtime-dependencies</artifactId>
</dependency>

The version should match the property of icon-languages.version from flo-parent