Setting the rule source path

You can specify the path to the rule files for the debugger.

About this task

When a rule is debugged, Rule Designer tries to show the file containing the rule to highlight the position where the debugger is stopped. The debugger has a lookup path to find this rule file.

Procedure

To specify the rule source path to the debugger:

  1. Select Run  > Run Configurations.

    The Run Configurations dialog opens.

  2. In the Configurations area, select your launch configuration.

    See Running Java applications with rules if you have not set up a launch configuration for your Java project for rules.

  3. Click the Source tab.
  4. In the Source page, click the Rule Source Path tab.
  5. To customize the lookup path, clear the Use default source lookup path box.
  6. Click Add RuleApp to add all the rules of the rule projects that compose the RuleApp at once to the rule source path.
  7. Click Apply to save your configuration.