Rule Builder > Debugging and Profiling > Testing the Execution of a Ruleset > Creating an Engine in the Rule Builder

In the Engine Explorer:

  1. Right-click the Engines element and then click Create Engine.
  2. Enter the fully qualified class name of the IlrContext class in the dialog box that pops-up, as shown in Figure 16.7. You need to have specified this IlrContext class in the classpath of the Rule Builder.

  3. images/createEngine.png
  4. Figure 16.7    IlrContext Class Dialog Box
  5. To set this new engine as the one that your ruleset is going to use, right-click a package and then click Set Execution Engine on the shortcut menu.

You can change the contextClassname property of a package to set the engine class to be used when creating engines for that particular package. To change the contextClassname associated with a package:

To change the IlrContext class associated with a package:

Several engine objects can exist at the same time in the Rule Builder, but you can only access the information relative to one engine at a time.


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT