| ILOG JRules User Guide > Deploying Rules > Reference > RuleApp Management Using Ant > res-undeploy Task |
res-undeploy Task |
PREVIOUS NEXT |
The res-undeploy task enables you to undeploy a RuleApp archive on a running Rule Execution Server. This task performs a HyperText Transfer Protocol (HTTP) or an HTTP Over SSL (HTTPS) remote call to remove the RuleApp from the model.
The following Ant task code provides an example of how to use the element attributes:
<res-undeploy hostname="localhost" portnumber="7001" userid="bres" password="mypassword" ruleapp="myruleapp" version="1.0"/>
Here is an encrypted example, using the credentialsfile attribute:
<res-undeploy hostname="localhost" portnumber="7001" credentialsfile="mypasswordfile" ruleapp="myruleapp" version="1.0"/>
where the credentials file is a text file that contains:
username=bres password=mypassword |
The file must follow the Java property files format; see http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream). After the first execution of the res-deploy ANT task, the contents are encrypted. For example:
username={DES}oLHZROlruWw\= password={DES}als58ekruWw\= |
With encryption, the userid and password never appear in plain text in traces during the RuleApp deployment operation.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |