teamLastModified

The teamLastModified task determines the creation time of the oldest baseline in the workspace that was created after the last Rational Team Concert™ source controlchange 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 timestamps between different streams of development.
The table below describes teamLastModified task attributes.
Note: Only one workspaceUUID attribute or workspaceName attribute is permitted.
Attribute Description Required

outputPropertiesFile

Path to a properties file. This properties file can add new properties or override existing properties in the build definition. The path can be a relative path from the base directory of the build file or a full path.

Yes

rawOutputPropertiesFile

Path to a properties file. The path can be a relative path from the base directory of the build file or a full path. This properties file contains internal folder and baseline ids which describe the latest baselines for each of the folders in the "sourceDirectory

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 to use.

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 may need to use this attribute instead of workspaceName.

Yes

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

password

Password for the user ID, a zero-length string by default unless specified.

No

passwordFile

The password file to use for 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.

No

timestampFormat

A time stamp format, such as http://java.sun.com/j2se/1.5.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" />

Feedback

Did this help? You can provide feedback at Jazz.net (registration required): Comment in the forums or submit a bug