Repository tools command to create version identifiers

The createVersionIDs command creates version identifiers for files.

Purpose

The createVersionIDs command scans the database for files that are under source control and assigns a version ID to them. If conflicts are found, you can use the replace argument to replace existing version IDs on a server with IDs that are defined in an input file.

Parameters

Attribute Description
existingVersionsInputFile=filename The file to import version identifiers from.
consolidatedVersionsOutputFile=filename The file to export version identifiers to.
replace=yes|no Replaces version identifiers on the server with versions from the input file. Default is no.
noPrompt Do not prompt if an input file is not specified.
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_createVersionIDs.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

Run the following command to create version IDs on a server that is not connected to other Jazz® Team Servers through distributed source control.

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

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-ccm.bat -createVersionIDs kerberos=true

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

cd /opt/IBM/JazzTeamServer/server/
./repotools-ccm.sh -createVersionIDs

Run the following command to create version IDs on the primary server in a distributed source control environment. The file contains the version IDs generated on the server to be used on the other Jazz Team Servers in your distributed source control environment.

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

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-ccm.bat -createVersionIDs consolidatedVersionsOutputFile=AllMyVersions.txt

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

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

Run the following command to generate version IDs on the other servers in a distributed source control environment. The output file contains a consolidation of the version of the input file and any newly generated versions from the current server. You can reuse this file and run the command again on all other distributed source control Jazz Team Servers to ensure that the version IDs are unique.

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

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

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

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