ILOG JRules User Guide > Creating Rule Projects > Tasks > Searching > Searching Rule Project Elements

Search can be used to search for rule project elements, packages and rule files.

To search for packages and rule files in rule projects:

  1. In the Search menu select Rule to open the Rule Search page in the Search dialog:
  2. images/Rule_Search.png
    The Rule, BOM and XOM searches are Eclipse-specific.
  3. Specify patterns to find rules, tasks, functions and rule packages in the Search string field.
  4. Use * for a multi-character wildcard and ? for a single-character wildcard. This enables you to specify all or part of the name of the rule, task, function or rule package you are searching for.
  5. Select the Case Sensitive box if you want your search to be case sensitive.
  6. Select Include referenced projects if you want to conduct the search on the current project and its dependencies. If not checked, the search is only performed on the current project.
  7. In the Search for area, select the type of element you want to locate.
  8. In the Limit to area, specify that you want the search to be carried out in the Name of rules, functions, tasks and rule packages and Body for rules and functions.
  9. Click Search.
  10. The results are displayed in the Search view.

Search can also be used to search in a specific rule project element.

To search in a rule project element only:

  1. In the Rule Explorer highlight the rule project element.
  2. Open the Rule Search page in the Search dialog and set up the search.
  3. Select the scope in the Scope area:
  4. To search in all the rule projects in the workspace, select Workspace.
    To search on specific rule projects, select Selected Resources.
  5. Click Search.
  6. The results are displayed in the Search view.
    images/Rule_Search_View.png
    For every match, the Search view shows the full name and the path to the element found.
  7. To open the file where an element is defined, double-click the item in the Search view.

Related Concepts

Rule Project
Rule Project Storage
Execution Object Model (XOM)
Business Object Model (BOM)
BOM and XOM
Vocabulary
Categories

Related Tasks

Searching the Execution Object Model
Searching the Business Object Model