Creating a rule project

The first step when designing a rule application is to create a rule project.

About this task

The first step in designing a business rule application is to create a rule project.

Note:

Because of SUN and IBM® JDK limitations, Eclipse cannot launch Run and Debug configurations on projects that contain Japanese, Korean, and Chinese (simplified and GB18030 encoding) characters. Do not use these characters in a project name unless you are using one of the following:

  • A localized Windows operating system that supports these characters

  • A locale that supports these characters in the Regional and Language Options settings

Procedure

To create a rule project:

  1. On the File menu, click New  > Rule Project.
    Note:

    If you are not in the Rule perspective, click File > New > Project, select Rule Designer > Rule Project, and then click Next.

  2. Select the required rule project template and then click Next.
  3. In the Project name field, enter a name for your project.
  4. If you want to save the project in your Eclipse workspace, keep the Use default check box selected.

    If you want to save your project in a different location, clear the Use default check box, click Browse and then select the required directory in the Location field.

  5. Click Next.
  6. Optional: In the Rule Project References page, specify references to other rule projects by clicking the check box next to them, and then click Next.

    Refer to Defining rule project references for details.

  7. Optional: Specify the execution object model (XOM):
    • If your XOM is based on Java™, on the Rule Project XOM Settings page, specify a Java execution object model (XOM) and then click Next.

      See Defining a Java XOM.

    • If your XOM is based on XML, click Next to access the Rule Project XOM Settings page for dynamic Execution Object Model (XOM), specify a dynamic execution object model (XOM), and then click Next.

      See Defining a dynamic XOM.

  8. Optional: On the Rule Project Folders page, specify the name and location of the folders for rules, business object models, templates, and queries, and an output folder for the generated ruleset and then click Finish.

    Refer to Defining a structure for rule project items for details.

    If you are not currently in the Rule perspective, a dialog prompts you to open the Rule perspective, click Yes to change to the Rule perspective.

Results

The Rule Explorer view displays your new rule project.