res-delete-file

The res-delete-file task removes a RuleApp archive from the file persistence of Rule Execution Server. This task does not notify any other Rule Execution Server component.

The following table describes the res-delete-file element attributes and specifies whether they are mandatory or optional.

Table 1. res-delete-file element attributes
Element attribute Description Mandatory/optional
dir The path to the root directory of the file persistence. Mandatory
failonerror If you set this attribute to false, a warning message is logged when an error occurs, but the build process is not stopped.

Optional

The default value is true.

ruleapp The RuleApp archive name to remove. Mandatory
version The RuleApp archive version to remove.

Optional.

The default value is 1.0.

The following code sample shows how to use the element attributes:
<res-delete-file dir="res_data" ruleapp="myruleapp" version="1.0"/>