ILOG JRules User Guide > Executing Rules > Tasks > Executing a Ruleset Using Rule Execution Server > Maintaining Execution Code Generators > Adding a New Execution Code Generator

To add a new project generator to the list of proposed generators:

For the last three solutions, you need to create a plug-in project to declare your generator.

To create a plug-in project to declalre your generator:

  1. Create a Java class to generate the files in the new project. For more information on how to write this class, see Writing a New Generator Class.
  2. Declare the class as a new generator by adding it as a new extension managed by the plug-in, as follows:
    1. Double-click the plugin.xml file of your plug-in project.
    2. On the Extension page, click Add and create a new extension entry of type ilog.rules.studio.res.generator.
    3. Add a new generator to the new extension by selecting New/generator in the contextual menu on the ilog.rules.studio.res.generator.
    4. For the new generator, complete the extension element details as follows:
    5. On the Dependencies page, as a minimum you must add the ilog.rules.studio.res plug-in and the ilog.rules.studio.res.ui plug-in if you redefine a wizard.

Related Concepts

Overview: Execution Code Generators
RuleApps and RuleApp Projects

Related Tasks

Invoking a Ruleset Using a Stateless Rule Session
Invoking a Ruleset Using a Stateful Rule Session
Invoking a Ruleset Using a Message-Driven Rule Bean