Creating RuleApp projects

To deploy a ruleset to Rule Execution Server, you create a RuleApp project and add ruleset archives.

About this task

You can add ruleset archives to a RuleApp project by selecting rule projects or the ruleset archives that you have already created.

In Rule Designer, a RuleApp is handled as an Eclipse project and is deployed to a running Rule Execution Server through the RuleApp project.

Rule Designer extracts a ruleset archive from a rule project.

Procedure

To create a RuleApp project:

  1. On the File menu, click New  > Project.
  2. On the Select a Wizard page, expand Rule Designer and select RuleApp Project.
  3. Click Next.
  4. On the RuleApp Project page, enter the name of the project, and then click Next.
  5. Optional: Add ruleset archives to the project using the wizard, as follows:
    1. On the Rule Projects tab, click Add and select a rule project from the list displayed.

      If you want to use an extractor, click the Use an extractor to filter rules contained in the project option and select an extractor from the list displayed. You see a list of the extractors that are available for the rule project that you selected. By default, a rule project has no ruleset extractor predefined. Therefore, if you do not define any, the list is empty.

    2. Click OK.
    3. Click the Ruleset Archives tab, then select ruleset archives in one of the following ways:
      • To select ruleset archives from the workspace, click Add, select the archives that you want to add to the RuleApp project, then click OK.

      • To select ruleset archives from outside the workspace, click Add External, select the required archives, and then click Open.

        With this option, you can browse the system to find the required ruleset archive file.

    4. Click Finish.

Results

The RuleApp project is created and is added to the list of projects. The RuleApp project editor opens automatically.