[Collapse]CodeCollaborator 5
 [Expand]Big Picture/support/viewarticle/20018/
 [Expand]Server Administration/support/viewarticle/20087/
 [Expand]Web User's Guide/support/viewarticle/20071/
 [Expand]Clients/support/viewarticle/20077/
 [Collapse]Version Control Integration/support/viewarticle/20031/
  [Expand]AccuRev Integration/support/viewarticle/20025/
  [Expand]Borland StarTeam Integration/support/viewarticle/20233/
  [Expand]CVS Integration/support/viewarticle/20086/
  [Expand]Git Integration/support/viewarticle/20223/
  [Expand]IBM CMVC Integration/support/viewarticle/20222/
  [Expand]IBM Rational ClearCase Integration/support/viewarticle/20224/
  [Expand]IBM Rational Team Concert Integration/support/viewarticle/20164/
  [Expand]IBM Rational Synergy Integration/support/viewarticle/20238/
  [Expand]Mercurial Integration/support/viewarticle/20236/
  [Expand]Microsoft Team Foundation Server Integration/support/viewarticle/20085/
  [Expand]Microsoft Visual SourceSafe Integration/support/viewarticle/20160/
  [Expand]MKS Source Integrity Integration/support/viewarticle/20237/
  [Expand]Perforce Integration/support/viewarticle/20090/
  [Expand]SourceGear Vault Integration/support/viewarticle/20089/
  [Expand]Subversion Integration/support/viewarticle/20088/
  [Expand]Surround SCM Integration/support/viewarticle/20318/
 [Expand]External Integrations/support/viewarticle/20301/
 [Expand]Techniques & Best Practices/support/viewarticle/20302/
 [Expand]Appendices/support/viewarticle/20078/
Updated: 4/18/2011 Applies To: CodeCollaborator 5 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent

SourceGear Vault Integration

Top Previous Next

This section describes Code Collaborator integration with SourceGear Vault.

Vault Integration

Code Collaborator supports SourceGear Professional and Standard Editions, and the earlier incarnations of Vault and Fortress. The integration is provided through SourceGear's Vault client API, which is packaged for Code Collaborator and available on our website for downloading. Choose from the following links for the to download the SourceGear client API for your Vault product:

SourceGear API for Vault 5.1 Professional Edition

SourceGear API for Vault 5.1 Standard Edition

SourceGear API for Vault 5.0 Standard Edition

SourceGear API for Fortress 2.0

SourceGear API for Vault 4.1

After downloading, the file must be renamed and copied under the installation directory as:

ui\plugins\com.smartbear.collaborator_5.0.xxxx\libs_single_instance\vault_client_api.jar

where xxxx is the build number of the release.

Reinstallation

Reinstalling the Code Collaborator client will delete this directory, so you might want to temporarily move the vault_client_api.jar file to another directory before reinstallation.

Other Supported Versions

Generally, there are compatible releases of the SourceGear API for all Vault versions and we should be able to support your specific version. If there is link above corresponding to your version of Vault, please contact us at support@codecollab.com and we will make it available.

Windows Installation Notes

Installing under Windows may require a temporary workaround for the SourceGear Vault client API. If your system uses a workgroup instead of a domain, the USERDNSDOMAIN environment will not be set to a value. This variable is required for the Vault client API to understand the correct username of the client. You can determine the value of USERDNSDOMAIN by typing set at a command prompt and looking through the environment variables. If the variable is not set, it *must* be defined before running the Command Line Client, or items in Vault's pending change set will not be found. The variable must be set to the name of the local workgroup, typically mshome or workgroup. You can find the workgroup name of the system on the General tab of the System Properties dialog.

There are two ways to set this environment variable for the Command Line Client. Create or edit the ccollab.vmoptions file in the Command Line Client installation directory, and include the line (with your workgroup name substituted):

userdnsdomain=workgroup-name

Note: the last line of this file *must* be followed by a line feed.

Another way to define this variable is in the User environment variable space. On the Advanced tab of System Properties, select the Environment Variables button and create a User variable named USERDNSDOMAIN with a value of the local workgroup name.

The GUI Client integrates with SourceGear Vault. It can find and upload Vault pending change set items, or already committed Vault source files.

The Command Line Client integrates with SourceGear Vault. It can find and upload Vault pending change set items, or already committed Vault source files.

Troubleshooting

Enabling debugging in the Code Collaborator clients when Vault is used will create a ccollab_vault.log file, in the current directory for the Command Line Client or the installation directory for the GUI Client. This file contains trace logging from the SourceGear Vault API, which in addition to the Code Collaborator client debugging log, can be useful for troubleshooting Vault issues. When submitting a client debugging log to technical support for a Vault issue, please also include this file.

Getting an "OutOfMemoryError: Java heap space" Error?

The SourceGear Vault API, like the SourceGear Vault client, utilizes local repository caching to reduce traffic to the server. When connecting to large Vault repositories with the Code Collaborator clients, the memory requirements can exceed the default Java heap space available. Refer to the Java heap size section of the manual for increasing the allocation. Increasing the available heap to 256MB of heap is a good starting point.



© 2012 SmartBear Software. All rights reserved.
Email Send feedback on this document