ILOG JRules User Guide > Customizing JRules > Tasks > Customizing Rule Studio > Creating A Rule Project Template for Rule Studio

You can create a rule project template based on all types of rule artifacts and any rule project structure, including a XOM project. You can create the template from multiple projects and project dependencies. The use of rule project templates can ensure greater consistency of rule project design and eliminate duplication of developer work.

You create the template in an easy-to-use wizard. The wizard allows you to custom design the template by choosing the resources to be included in the rule project template. You can add template documentation to describe the template structure and use. The end result is an Eclipse plug-in for deployment.

To create a rule project template for Rule Studio:

  1. On the File menu, click New > Other > Plug-in Project. Click Next.
  2. In the New Plug-in Project page, in the Plug-in Project dialog, type in the name of the new rule project template. Click Next.
  3. Complete the Plug-in Content dialog and click Next.
  4. In the Templates dialog, select Plug-in that defines a new template for the Rule Project wizard. Click Next.
  5. In the New plug-in Project with Custom Templates page, in the Resources to Include as Template Files dialog, select the resources to be included in the template. All the resources from the current project are listed for possible inclusion. Click Next.
  6. In the Custom Rule Project Template Settings dialog, complete the settings and click Finish.

You can then test the new plug-in. In response to the query, open the associated view. Use the Eclipse export wizard to export the plug-in to (for example) your Rule Studio Eclipse install directory. You can also deploy the plug-in directly, either in the Eclipse application directory or any directory that is an extension to the Eclipse application you are using. When you restart Eclipse, the new rule project template is selectable.

Related Concepts

Rule Project

Related Tasks

Customizing Rule Studio
Setting Up a Rule Project

Related Reference

Preferences: Rule Studio

Related Samples and Tutorials

Rule Studio Business Rule Management Extensions