| ILOG JRules User Guide > Deploying Rules > Reference > RuleApp Management Using Ant > Task Mappings |
Task Mappings |
PREVIOUS NEXT |
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:
res-jar=ilog.rules.bres.tools.archive.IlrRuleAppArchiveTask
res-migrate=ilog.rules.bres.tools.archive.IlrRuleAppArchiveV5toV6Task
res-deploy=ilog.rules.bres.tools.remote.http.IlrDeployRuleAppTask
res-fetch=ilog.rules.bres.tools.remote.http.IlrDownloadRuleAppTask
res-fetch-all=ilog.rules.bres.tools.remote.http.IlrDownloadAllRuleAppsTask
res-undeploy=ilog.rules.bres.tools.remote.http.IlrUndeployRuleAppTask
res-write-file=ilog.rules.bres.tools.persistence.IlrWriteFileTask
res-write-db=ilog.rules.bres.tools.persistence.IlrWriteDbTask
res-delete-file=ilog.rules.bres.tools.persistence.IlrDeleteFileTask
res-delete-db=ilog.rules.bres.tools.persistence.IlrDeleteDbTask
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 |
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |