ILOG JRules User Guide > Deploying Rules > Reference > RuleApp Management Using Ant > Task Mappings

Ant is a Java-based build tool. To use the Ant tasks in an Ant project file, you need to declare the class path and the mapping between the Java classes and the task keywords, using the task-def task.

The bres-tasks.properties file defines the following mapping:

The bres-tasks.properties file is found in the <InstallDir>/executionserver/lib/jrules-bres-tools.jar.

The following Ant tasks can use HyperText Transfer Protocol (HTTP) or HTTP Over SSL (HTTPS):

By default, HTTPS supports only trusted certificates, but you can set a Java system property: Dilog.rules.res.allowSelfSignedCertificate=true, to allow HTTPS on non-trusted certificates. Use the following code to set this property for Ant:

<property name="ilog.rules.res.allowSelfSignedCertificate" value="true"/>

.

Note
See Setting Up Your Environment to Use Ant for more information about how to set up Ant on your system.

JRules is divided into modules (Execution Server, Scenario Manager, Rule Studio, Rule Team Server, JRules2dotnet), each with its own lib directory. You need to define:

Related Concepts

RuleApps and RuleApp Projects

Related Topics

Rule Execution Server Tasks
res-jar Task
res-fetch Task
res-fetch-all Task
res-deploy
res-undeploy Task
res-write-file Task
res-write-db Task
res-delete-file Task
res-delete-db Task

Related Tasks

Deploying and Exporting RuleApps

Related Samples and Tutorials

Tutorial: RuleApp Management
How to Automate Ruleset Management
How to Migrate RuleApps

Related Reference

RuleApp Management Using MBeans Accessor API
http://ant.apache.org/