Repository tools command to export version identifiers

The exportVersionIDs command exports the contents of the version identifiers table to a file.

Purpose

The exportVersionIDs command generates an output file consisting of version IDs. Use this file to consolidate version IDs across servers in a distributed source control environment.

Parameters

Attribute Description
existingVersionsInputFile=filename The file to import version identifiers from.
consolidatedVersionsOutputFile=filename The file to export version identifiers to. This parameter is required.
repositoryURL=URL The connection URL for the server. For example, https://localhost:9443/ccm.
adminUserId=userID Administrator user ID to login to the Jazz repository. For example, ADMIN.
adminPassword=password Administrator password to log in to the Jazz repository.
credentialsFile=filename The file containing the administrator's login credentials. For example, credentials.properties.
certificateFile=filename The file containing the administrator's login certificate.
smartCard=filename The alias to log in using a smart card, or ? to list available aliases.
logFile=filename The path to the log file. For example, repotools-ccm_exportVersionIDs.log.
kerberos=true|windows Authenticate with Windows user credentials using Kerberos/SPNEGO by setting to true. Or authenticate with Windows Integrated Authentication by setting to windows.

Examples

Use the following command to consolidate the version IDs defined in the input file with the version IDs contained on the connected Jazz® Team Server.

For Windows
operating system Open a command prompt and enter this command:

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-ccm.bat -exportVersionIDs existingVersionsInputFile=AllMyVersions.txt consolidatedVersionsOutputFile=AllMyVersions.txt kerberos=true

For Unix
operating systems Open a command line and enter this command:

cd /opt/IBM/JazzTeamServer/server/
./repotools-ccm.sh -exportVersionIDs existingVersionsInputFile=AllMyVersions.txt consolidatedVersionsOutputFile=AllMyVersions.txt