Rule Builder > Managing Repositories > Working With Templates > Adding a Rule Template in a Custom Business Rule Language (BRLDF)

To add a new rule template in a business rule language defined with the BRLDF to a template library, proceed as follows:

  1. Right-click on Template Library and then click Add Template>BRLDF Rule on the shortcut menu or click Add Template>BRLDF Rule on the Library menu.
  2. The BRLDF Rule element appears as a highlighted field in the Project Explorer. Enter a name for the new rule template.
  3. In the Property Sheet of the rule template, enter the full path to your grammarFile under the javaClassname of the currentDefinition property, (for example, the default abstract syntax file, which is IlrGrammarTokenModel), or select the grammarFile Value cell to open a dialog box and browse to locate an .xsd schema. An example is shown in Figure 3.28.

  4. images/createBRLDFTemplate.png
  5. Figure 3.28    Linking a Template to an Abstract Syntax File
  6. Click the rule template element in the Project Explorer. The Template Editor is displayed in the Editor pane and you can start editing the template.

See Also

Working With Projects


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