This task exports and imports External Resources defined in your BPM directory.
Example 1: Export all External Resources:
<target name="export-resources" description="Export External Resources">
<!-- Open a session to the BPM directory -->
<fuego:session
passportref="fuego.passport"
haltonerror="true" >
<fuego:configuration action="export"
file="resources.exp" />
</fuego:session>
</target>
Example 2: Import External Resources:
<target name="import-resources" description="Import External Resources">
<!-- Open a session to the Fuego directory -->
<fuego:session
passportref="fuego.passport"
haltonerror="true" >
<fuego:configuration action="import"
force="true"
file="resources.exp" />
</fuego:session>
</target>
Example 3: Delete all existing External Resources:
<target name="clean-resources" description="Clean All External Resources">
<!-- Open a session to the Fuego directory -->
<fuego:session
passportref="fuego.passport"
haltonerror="true" >
<!-- Clean all the configurations-->
<fuego:configuration action="clean-all" />
</fuego:session>
</target>
| Attribute | Description | Type | Required? |
| file | The file to export/import. The format of this file depends on the type of External Resource. To obtain an example configuration file, create an External Resource manually using Process Administrator and export it. | File | Yes |
| action |
Defines the operation to execute on the configuration.
|
String ["import", "export", "clean-all"] | Yes |
| force |
Whether the import action will overwrite existing
configurations.
|
boolean | No by default, it will refuse to import a configuration if it already exists in the directory. |
| haltonerror | Stop the Ant build process if an error occurs. | boolean | No Default is true. |