The task returns true if the specified workspace is up to date and false if not.
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 |
| property | The name of the Ant property in which to return the result. | Yes |
| streamName | The name of the stream that is the flow target for the workspace. | Yes |
| workspaceUUID | The UUID of the workspace. The value of this attribute is typically ${team.scm.workspaceUUID} because the property is built-in when using the Jazz Build Engine. | Yes |
Check if workspace is current
<target name="main">
<xt:isworkspacecurrent
repositoryAddress="${repositoryAddress}"
userId="${userId}"
passwordFile="${passwordFile}"
property="current"
streamName="IMS14.Service"
workspaceUUID="${team.scm.workspaceUUID}"
/>
<echo>${current}</echo>
</target>