Building rule projects interactively

Each time you modify a rule and save it, Rule Designer builds the rule project by compiling its content.

About this task

During the build process, Rule Designer detects problems and reports them in the Problems view:
  • Errors: Syntax or structural defects

  • Warnings: Indicates awkward or deprecated syntax in the valid parts of the rules

Some errors result from the way in which rules interact in a ruleset archive, which is the standard artifact that a rule engine can read. For example, if a project contains two rule with the same name, the resulting ruleset would contain an error because there cannot be two rules with the same name in a single ruleset. A typical case of this is when a rule generated from a decision table conflicts with a BAL rule of the same name.

Procedure

  1. To build a rule project, click Save.

    When you modify a rule and save it, Rule Designer builds the project.

  2. To rebuild a rule project, click Project > Clean.

Results

After a successful build, you can use a launch configuration to generate a ruleset archive, and run and debug the ruleset.