The verifyURLMappings command is used to verify a mapping file. Run the command after you generate and edit a mapping file, but before you import the mapping file into the server. verifyURLMappings must be run with the repotools-jts command and requires that the repositoryURL parameter point to a Jazz™ Team Server. The command performs the following verifications:
To avoid the warning for Default/No ports, you should have two mappings for a URL with no port or the default port number. For example, if you have a mapping for http://www.eclipse.org/projects, you should also add a mapping for http://www.eclipse.org:80/projects. Similarly, if you have a mapping for https://www.ibm.com/news, you should also add a mapping for https://www.ibm.com:443/news.
| Attribute | Description | Required | Default |
|---|---|---|---|
| mappingFile | Path to the mapping file to verify. | No | mapping.txt |
| adminUserId | Admin user ID to log in to the Jazz repository. | No | ADMIN |
| adminPassword | Admin password to log in to the Jazz repository. | No | ADMIN |
| repositoryURL | The connection URL for the server. | No | https://localhost:9443/jts |
| credentialsFile | The file containing the administrative user login credentials. | No | credentials.properties |
| certificateFile | The file containing the administrator user's certificate file. | No | none |
| logFile | Path to the log file. | No | repotools-jts_verifyURLMappings.log |
| smartCard | The alias to login using a smart card, or ? to list available aliases. | No | none |
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -verifyURLMappings mappingFile=C:\mappings.txtLinux:
cd opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -verifyURLMappings mappingFile=opt/mappings.txt