init
Use this task to initialize a connection with the Engineering Workflow Management server for use of the System Definition tasks. The task must run before any other System Definition task. You can specify the repository address, user ID, password, and the name of the project area that contains the Enterprise Extensions System Definition data as attributes. If you do not specify these attributes, the task retrieves the values for the attributes from the file sharing information that is associated with the build file.
The following table describes the task attributes.
| Attribute | Description | Required |
|---|---|---|
|
repositoryAddress |
Address of the team repository to use. |
Yes |
|
userId |
User ID for authentication to the repository. |
Yes |
|
password |
Password for the user ID. |
No |
|
projectArea |
The name of the project area where associated data set definitions, translators, and language definitions are stored. |
Yes |
Notes:
- The
inittask must be run in an Eclipse environment. - The
inittask can be accessed through the Build Extensions Toolkit namespace by defining that namespace in the project element and by calling theloadBuildExtensionstask to register participating Engineering Workflow Management and Enterprise Extensions Ant tasks and types under the Build Extensions Toolkit namespace.For example, you can enter the following code:<project default="main" name="init" xmlns:xt="antlib:com.ibm.team.build.extensions.toolkit"> <xt:loadBuildExtensions/> <target name="main"> <xt:init … /> </target> <project>
Example
The following code illustrates the connection initialization.
<xt:init
repositoryAddress="https://youradress.com:9443/ccm"
userId="user"
password="pass"
projectArea="Build Test"
/>