| ILOG JRules User Guide > Executing Rules > Tasks > Executing a Ruleset Using Rule Execution Server > Maintaining Execution Code Generators > Adding a New Execution Code Generator |
Adding a New Execution Code Generator |
PREVIOUS NEXT |
To add a new project generator to the list of proposed generators:
description.xml file, then put this file into the following directory structure in the JRules distribution: <InstallDir>/studio/samples/eclipse/plugins/ilog.rules.studio.samples.ruleservice_1.0.0/templates/velocity.
IlrPOJOGenerator or IlrWebServiceGenerator classes to change the file prefix name, the package prefix name, and the header file.
IlrVelocityGenerator class.
IlrFileGenerator class.
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:
plugin.xml file of your plug-in project.
ilog.rules.studio.res.generator.
ilog.rules.studio.res.generator.
ilog.rules.studio.res.generator.generatorChooserPage to see your generator in the Client Project for RuleApps wizard and the Artifacts for RuleApps wizard. Enter ilog.rules.studio.res.generator.generatorChooserPage.create to see your generator only in the Client Project for RuleApps wizard. Enter ilog.rules.studio.res.generator.generatorChooserPage.complete to see your generator only in the Artifacts for RuleApps wizard.
creationWizardClass can be found. By default it is the plug-in where the generator is defined.
completionWizardClass can be found. By default, this is the plug-in where the generator is defined.
ilog.rules.studio.res plug-in and the ilog.rules.studio.res.ui plug-in if you redefine a wizard.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |