The <pxe-sar> Ant task is used to create system deployment archives.
<pxe-sar sar="sarfile" descriptor="descriptor" [commonrr="filename"] [failOnError="yes|no"] > <resource [name="handle"] file="filename" />* <rr [name="handle"] file="filename" />* </pxe-sar>
| Attribute | Purpose |
|---|---|
| sar | the filename of the SAR file to be created. |
| descriptor | the directory into which the compiled files will be written. The default, if no other value is specified, is the current working directory. |
| commonrr | if present, the filename of a ZIPRR containing the root WSDL definition for the system, as specified in the system deployment descriptor. If not present, the task treats the URI of the root WSDL as a URL and attempts to create a temporary resource respository containing that WSDL document and its imported WSDL and XML schemas. |
| failOnError | whether or not to fail the build in the event of an error; the default is yes. |
The <resource> subelement adds an additional named resource to the deployment bundle, e.g., a compiled BPEL process. See the bpelc or the <bpelc> Ant task.
| Attribute | Purpose |
|---|---|
| handle | if specified, the name to store the resource at in the archive. If not specified, the name is the name of the file. |
| filename | the name of the file containing the resource |
The <rr> subelement adds an additional named resource repository to the deployment bundle.
| Attribute | Purpose |
|---|---|
| handle | if specified, the name to store the repository at in the archive. If not specified, the name is the name of the file. |
| filename | the name of the file containing the resource |
