Rule Builder > Deployment > Customizing a RuleApp

When you extract your RuleApp for the first time, the RuleApp Explorer shows the default RuleApp for your project. You can now customize your RuleApp in specific ways. For example, you can decide to import additional rulesets, or select only those rulesets you want to deploy. You can also extract and execute versions of your RuleApp and versions of the rulesets it contains.

A RuleApp is saved with the repository from which it is extracted. If you close a repository without saving it, the RuleApp is not saved and will not be present when you reopen the repository.

To customize a RuleApp:

  1. Right-click the RuleApp in the RuleApp Explorer and click Customize RuleApp on the shortcut menu or click Customize RuleApp on the Project menu.
  2. or
  3. Click Customize RuleApp on the RuleApp menu on the main toolbar.
  4. The Create a New RuleApp Wizard appears showing the RuleApp Name and Version fields, see the example in Figure 19.3.

  5. images/deployment_createnewapp.png
  6. Figure 19.3    Create a New RuleApp Wizard
  7. Click the RuleApp Name text box to activate it and change the name of the new RuleApp, if required.
  8. Click the RuleApp Version checkbox to activate the version fields and enter your values. For example, if the version you want to use is 2.1, then place 2 in the major version box and 1 in the minor version box.
  9. Click the Next button to go to the next step in the wizard.
  10. The Select Ruleset dialog box opens displaying all the extracted rulesets, see the example in Figure 19.4.

  11. images/deployment_rulesetset.png
  12. Figure 19.4    Customizing Your RuleApp
  13. If you want to import some additional rulesets (in XRL or IRL format), click the Import button and choose the rulesets you want from the dialog box displayed.
  14. Click a ruleset in the Select Ruleset checkbox to select or clear it.
  15. To select all the rulesets or deselect all of them, click the corresponding button.
  16. Click the Ruleset Name field to activate it and change the name of the ruleset, if required.
  17. Click the Major and Minor Version checkboxes to activate the version fields and enter your values. For example, if the version you want to use is 2.1, then place 2 in the Major Version box and 1 in the Minor Version box.
  18. Click the Finish button to save your options for the new RuleApp extraction and close the wizard.

See Also

RuleApp Properties | Saving a Repository


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