teamLastModified

The teamLastModified task determines the creation time of the oldest baseline in the workspace that was created after the last Engineering Workflow Management source control change anywhere within the specified folder. The output files should be attached to the build as a log or download, so that you can maintain consistent time stamps between different streams of development.
The following table contains teamLastModified task attributes.
Note: Only one workspaceUUID attribute or workspaceName attribute is permitted.
Attribute Description Required

outputPropertiesFile

Specifies an output file that will be written to contain a property for each directory under sourceDirectory. Each property's value is its last modified time. The file is formatted as a Java™ style properties file. For example: com.ibm.team.scm.admin.service=200803060309

Yes

rawOutputPropertiesFile

Specifies an output file that will be written to contain the folder and baseline IDs for the workspace. This file is suitable to be used by the Jazz™ Source Control Initialize Folder Modification Times" workspace action. This attribute and action can be used in conjunction to preserve the folder modification times when creating a new workspace.

Yes

repositoryAddress

Address of the team repository to use. The value of this attribute is typically ${repositoryAddress} because that property is built-in when using the Jazz Build Engine.

Yes

sourceDirectory

For the teamLastModified task, a directory location in the local file system. The value of the sourceDirectory attribute must be the root of the Jazz repository workspace. For example, if the teamFetch task fetches to c:\fetched , the sourceDirectory in the teamLastModified should be c:\fetched. This task is not compatible with the scmtools command line utility.

Yes

userId

User ID for authentication to the repository. Requires password or passwordFile to be set.

Yes

workspaceName

For the teamLastModified task, the name of the workspace to use.

Yes

workspaceUUID

For the teamLastModified task, the UUID of the workspace context to use.

If you have multiple workspaces with the same name, you might need to use this attribute instead of workspaceName.

Yes

certificateFile

The path to the file that contains the user's login certificate for authentication. Requires password or passwordFile to be set. You can specify certificateFile or repositoriesFile, but not both.

No

failOnError

If true (the default), the task fails if it encounters an error. If false, some errors are ignored and the task is completed.

No

integratedWindows

Whether to use Integrated Windows Authentication

No

kerberos

Whether to use Windows user credentials using Kerberos/SPNeGO.

No

password

Password for the user ID for authentication to the repository. Either password or passwordFile can be provided, but not both.

No

passwordFile

The password file to use for authentication to the connection. You can create a suitable password file by invoking the Jazz Build Engine with the -createPasswordFile argument. You can only specify one password file. Either password or passwordFile can be provided, but not both.

No

repositoriesFile

The repositories registry file containing a listing of repositories and their login credentials. You can specify repositoriesFile or certificateFile, but not both. If you specify repositoriesFile, do not specify either password or passwordFile. The repositories file is created and updated through the use of scm login and logout commands.

No

reuseLoginOption

The first time an Ant task logs in to a repository, a connection is not terminated at the end of this task. All subsequent tasks reuse this connection as long as they connect to same repository with same user ID. When a task logs in to a different repository or with a different user ID, the previous connection is terminated and a new connection is created and reused.

No

smartCard

Whether to use the connected smart card for authentication (true or false). Requires userId to be set. For more information about smart card authentication, see Connecting to repositories and project areas.

No

timestampFormat

A time stamp format, such as http://example.com/j2se/1.6.0/docs/api/java/text/SimpleDateFormat.html. Default is yyyyMMddHHmm.

No

verbose

Specifies more message output. The default is false.

No

Example

<teamLastModified repositoryAddress="${repositoryAddress}"
                       userId="${userId}"
                       password="${password}"
                       workspaceName="workspace1"
                       outputPropertiesFile="${java.io.tmpdir}/modified.properties"
                       rawOutputPropertiesFile="${java.io.tmpdir}/modified-ids.properties"
                       sourceDirectory="${java.io.tmpdir}/toolkittest"
                       verbose="true" />

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki