Repository tools command to import version identifiers

The importVersionIDs command assigns the version IDs defined in the given input file to any matching file versions on the Jazz™ Team Server.

Purpose

The importVersionIDs command assigns the version IDs defined in the given input file to any matching file versions on the Jazz Team Server.

Parameters

Attribute Description
existingVersionsInputFile=filename The file to import version identifiers from. This parameter is required.
consolidatedVersionsOutputFile=filename The file to export version identifiers to.
replace=yes|no Whether version identifiers on the server should be replaced with versions from the input file.
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_importVersionIDs.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

In a distributed source control environment, file versions can be transferred to another Jazz Team Server before files have been assigned a version id. After files are assigned new versions using the createVersionIDs command, the following command assigns the versions to the same files on another 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 -importVersionIDs existingVersionsInputFile=AllMyVersions.txt kerberos=true

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

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

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