When completed, this tutorial contains no errors and the
output includes correct prices for all the special offers.
Procedure
To import the answer projects and run
the tutorial:
- Import the answer projects:
- Open the samples console in the en_US (American English) locale (see Opening the samples console).
- In the Samples and Tutorials view, locate
Rule
Designer
> Tutorials > Debugging
a ruleset > answer, and then
click Import projects.
The Eclipse perspective switches from Sample Console to Rule, which is indicated in
the perspective toolbar. The Rule Explorer view displays two projects. The Java™ project carrental-xom defines an execution object
model for rule execution. The decision service main rule project
debug-rules-answer contains a business rule application with no bugs. This
project references the project carrental-xom.
- Run the tutorial:
- From the Run menu, select Debug
Configurations.
- In the Debug Configurations dialog, select one of the Decision Operation
launch configurations (Debug-answer-Alice or
Debug-answer-Julian), and then click Debug.
- In the Confirm Perspective Switch dialog,
click Yes.
The Debug perspective
opens.
- Click
Resume (or press
F8) to resume debugging.
Results
The output in the Console view
displays the results.