< Previous | Next >

Running the completed tutorial

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:

  1. Import the answer projects:
    1. Open the samples console in the en_US (American English) locale (see Opening the samples console).
    2. 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.

  2. Run the tutorial:
    1. From the Run menu, select Debug Configurations.
    2. In the Debug Configurations dialog, select one of the Decision Operation launch configurations (Debug-answer-Alice or Debug-answer-Julian), and then click Debug.
    3. In the Confirm Perspective Switch dialog, click Yes.

      The Debug perspective opens.

    4. Click Resume Resume (or press F8) to resume debugging.

Results

The output in the Console view displays the results.

< Previous | Next >