The task is used to export all streams owned by a process area into a fully formatted Ant build script. The generated build script can be used for stream definition recovery, backup and restore of the stream definitions, or moving stream definition to another repository.
The task supports Team Build Attributes, Build Extensions Debugging Attributes, Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| exportFile | The name of the export file. This is the file where the Ant script with exported definitions is written. Since the export file is also an Ant build script, the file extension typically used for this file would be "xml". | Yes |
| exportFolder | The name of the export file folder. This is the location for the export file. A fully qualified path is required. | Yes |
| exportFormat |
This option controls whether or not the resulting export file, and the XML it contains, is formatted for human consumption. Specify true to have the XML formatted into a more readable form. Specify false to create a standard, compact XML file. The default is true.
|
No |
| exportLog |
This option controls whether or not the resulting export file is written to the console as well as the file. Specify true to write the XML to the console, or build log, in addition to the file. Specify false to write the XML only to the export file. The default is false.
|
No |
| processAreaName | The name of the EWM® process area that owns the streams. | Yes |
Export streams
<target name="main" description="main">
<!-- Export streams -->
<xt:exportStreams
repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
processAreaName="${projectArea}"
exportFile="Components.xml"
exportFolder="${basedir}/../imports"
exportFormat="true"/>
</target>