Archiving RuleApps
You can package a RuleApp into a JAR file as a RuleApp archive and download it.
About this task
You can package and download a RuleApp archive that includes all rulesets or selected rulesets in
the RuleApp:
- Download a RuleApp archive with all rulesets in the RuleApp. This feature is available in
the following views in the Explore tab:
- RuleApps View
- RuleApp View
- Download a RuleApp archive with selected rulesets in the RuleApp. This feature is available only in the RuleApp View page.
Note: You can download a RuleApp archive with embedded managed Java™ XOMs when the
ilog.rules.res.XOM_IN_RULEAPP_ARCHIVE parameter in the
web.xml deployment descriptor file of the Rule
Execution Server console is set to
true
. This
parameter is set to false
by default.Procedure
Results
The RuleApp archive is now created and downloaded in the specified location.
The archive contains the RuleApp and its rulesets. If you set the
ilog.rules.res.XOM_IN_RULEAPP_ARCHIVE parameter to
true
before you download the RuleApp archive, it also contains the associated managed Java XOMs. The RuleApp itself is not changed or deleted from the server.Remember: You can also create a RuleApp
archive with the REST API. You can learn and test the GetRuleAppArchive method in
the REST API test tool. Go to the REST API tab, and check the
/ruleapps tab.
You can select rulesets with the query parameter in the method. For more information about the options for the query parameter, see REST API GetRuleAppArchive query parameter options.