The task is used to register participating EWM and Enterprise Extensions Ant tasks and types under the Build Extensions Toolkit namespace, when and if they are available. This function allows all participating tasks and types to be referenced by a common namespace.
The task supports Build Extensions Debugging 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 |
| iItems |
Specify true to load IBMi system specific tasks and types in addition to the non-system specific tasks and types. Specify false to load just the non-system specific tasks and types. The default is false. Either iItems or zItems may be set to true, but not both.
|
No |
| zItems |
Specify true to load z/OS system specific tasks and types in addition to the non-system specific tasks and types. Specify false to load just the non-system specific tasks and types. The default is false. Either iItems or zItems may be set to true, but not both.
|
No |
Register tasks and types
<project name="LoadBuildExtensions" default="main" xmlns:xt="antlib:com.ibm.team.build.extensions.toolkit">
<target name="main" description="main">
<xt:loadBuildExtensions/>
<xt:getJarLocation property="jarPath"/>
<echo message="${jarPath}"/>
</target>
</project>
Result:
[echo] C:/Users/djreilly/workspace_rtc603rc1z/com.ibm.team.enterprise.smpe.toolkit/ant_tasks/com.ibm.team.enterprise.smpe.toolkit.jar