Integrating a custom IRL code generator into Decision Center

You use a custom IRL (ILOG Rule Language) code generator to modify how IRL code is generated from business rule artifacts.

About this task

To integrate and declare the custom code generator, you must repackage the Decision Center archive.

Procedure

  1. Package your implementation of a subclass of IlrIRLCodeGenerator into a JAR file.
  2. Create a preferences.properties file that sets the property webui.codeGenerator.irl to your interface implementation, and include that file in the JAR file that contains your implementation:
    webui.codeGenerator.irl = function_of_the_custom_IRL_code_generator_class
  3. Repackage the Decision Center archive with the repackage-ear command. In the repackage-ear command, use the -DadditionalJars argument to specify the JAR file that contains your custom class.
    Note:

    For information about how to repackage the Decision Center archive, see Repackaging the Decision Center archive.

  4. Deploy the Decision Center archive.