The task is used to create SCM streams.
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 |
| processAreaName | The name of the EWM® process area that will own the stream. | Yes |
One or more Stream elements can be specified within the createStreams element. Stream elements are used to describe the stream to be created. At least one Stream element is required.
The following table describes the valid Stream element attributes and their options:
| Stream Element Attributes | ||
| Attribute | Description | Required |
| name | The name of the stream. | Yes |
| description | The description of the stream. | Yes |
One Components element can be specified within the Stream element. Components elements are used to collect Component elements. The Components element is optional. One or more Component elements can be specified within the Components element. Component elements define which components are included in the stream. At least one Component element is required if a Components element is defined.
The following table describes the valid Component element attributes and their options:
| Component Element Attributes | ||
| Attribute | Description | Required |
| name | The name of the component. | Yes |
One AcceptSources element can be specified within the Stream element. AcceptSources elements are used to collect AcceptSource elements. The AcceptSources element is optional. One or more AcceptSource elements can be specified within the AcceptSources element. AcceptSource elements are used to define other streams that flow into this stream. At least one AcceptSource element is required if a AcceptSources element is defined.
The following table describes the valid AcceptSource element attributes and their options:
| AcceptSource Element Attributes | ||
| Attribute | Description | Required |
| current |
Specify true if this is the current accept stream. The default is false
|
No |
| default |
Specify true if this is the default accept stream. The default is false
|
No |
| name | The name of the stream. | Yes |
One Components element can be specified within the AcceptSource element. Components elements are used to collect Component elements. The Components element is optional. One or more Component elements can be specified within the Components element. Component elements in this case define which components are scoped to this source. At least one Component element is required if a Components element is defined. See "Components and Component Elements" above for more information on the format of these elements.
One DeliverTargets element can be specified within the Stream element. DeliverTargets elements are used to collect DeliverTarget elements. The DeliverTargets element is optional. One or more DeliverTarget elements can be specified within the DeliverTargets element. DeliverTarget elements are used to define other streams that this stream flows into. At least one DeliverTarget element is required if a DeliverTargets element is defined.
The following table describes the valid DeliverTarget element attributes and their options:
| DeliverTarget Element Attributes | ||
| Attribute | Description | Required |
| current |
Specify true if this is the current deliver stream. The default is false
|
No |
| default |
Specify true if this is the default deliver stream. The default is false
|
No |
| name | The name of the stream. | Yes |
One Components element can be specified within the DeliverTarget element. Components elements are used to collect Component elements. The Components element is optional. One or more Component elements can be specified within the Components element. Component elements in this case define which components are scoped to this target. At least one Component element is required if a Components element is defined. See "Components and Component Elements" above for more information on the format of these elements.
Create streams
<!-- Item Definitions -->
<target description="Create item definitions" name="Item.Definitions">
<!-- Create Items -->
<xt:createStreams
password="${password}"
processAreaName="${processAreaName}"
repositoryAddress="${repositoryAddress}"
userId="${userId}">
<xt:stream description="SA Development Stream" name="VNext Development Stream">
<xt:components>
<xt:component name="sa.e2edist"/>
<xt:component name="sa.itm"/>
<xt:component name="sa.agent"/>
<xt:component name="sa.docu"/>
<xt:component name="sa.common"/>
<xt:component name="sa.am"/>
<xt:component name="sa.tools"/>
<xt:component name="sacommon.tools"/>
<xt:component name="sa.itmdist"/>
<xt:component name="sa.derby"/>
<xt:component name="sa.dialog"/>
<xt:component name="sa.procops"/>
</xt:components>
<xt:acceptSources>
<xt:acceptSource current="true" default="true" name="VNext Development Stream 2"/>
<xt:acceptSource name="VNext Development Stream 3"/>
</xt:acceptSources>
<xt:deliverTargets>
<xt:deliverTarget current="true" default="true" name="VNext Development Stream 2"/>
<xt:deliverTarget name="VNext Development Stream 3"/>
</xt:deliverTargets>
</xt:stream>
<xt:stream description="SA Development Stream" name="VNext Development Stream 3">
<xt:components>
<xt:component name="sa.e2edist"/>
<xt:component name="sa.itm"/>
<xt:component name="sa.agent"/>
<xt:component name="sa.common"/>
<xt:component name="sa.docu"/>
<xt:component name="sa.am"/>
<xt:component name="sa.tools"/>
<xt:component name="sacommon.tools"/>
<xt:component name="sa.itmdist"/>
<xt:component name="sa.derby"/>
<xt:component name="sa.procops"/>
<xt:component name="sa.dialog"/>
</xt:components>
</xt:stream>
<xt:stream description="SA Development Stream" name="VNext Development Stream 2">
<xt:components>
<xt:component name="sa.e2edist"/>
<xt:component name="sa.itm"/>
<xt:component name="sa.agent"/>
<xt:component name="sa.docu"/>
<xt:component name="sa.common"/>
<xt:component name="sa.am"/>
<xt:component name="sa.tools"/>
<xt:component name="sacommon.tools"/>
<xt:component name="sa.itmdist"/>
<xt:component name="sa.derby"/>
<xt:component name="sa.dialog"/>
<xt:component name="sa.procops"/>
</xt:components>
</xt:stream>
<xt:stream description="" name="350 Service Stream">
<xt:components>
<xt:component name="sa.v350"/>
</xt:components>
</xt:stream>
<xt:stream description="SA Development Stream" name="410 Service Stream">
<xt:components>
<xt:component name="sa.e2edist"/>
<xt:component name="sa.itm"/>
<xt:component name="sa.agent"/>
<xt:component name="sa.common"/>
<xt:component name="sa.docu"/>
<xt:component name="sa.am"/>
<xt:component name="sa.tools"/>
<xt:component name="sa.itmdist"/>
<xt:component name="sa.procops"/>
<xt:component name="sa.dialog"/>
</xt:components>
</xt:stream>
<xt:stream description="" name="Build Setup">
<xt:components>
<xt:component name="sa.zservice"/>
<xt:component name="setup"/>
<xt:component name="sa.packaging"/>
</xt:components>
</xt:stream>
<xt:stream description="SA Development Stream" name="420 Service Stream">
<xt:components>
<xt:component name="sa.e2edist"/>
<xt:component name="sa.agent"/>
<xt:component name="sa.docu"/>
<xt:component name="sa.common"/>
<xt:component name="sa.am"/>
<xt:component name="sa.tools"/>
<xt:component name="sa.derby"/>
<xt:component name="sa.procops"/>
<xt:component name="sa.dialog"/>
</xt:components>
</xt:stream>
<xt:stream description="Main collaboration stream for Test" name="Test Stream">
<xt:components>
<xt:component name="Test Default Component"/>
</xt:components>
</xt:stream>
</xt:createStreams>
</target>