Using CtCmd with HCL Compass Perl scripts for HCL VersionVault integrations
To facilitate integrations between HCL Compass and HCL VersionVault, or integrations with other products, it is useful to be able to obtain information about objects in HCL VersionVault VOBs and PVOBs. From HCL Compass Perl scripts, you can use CtCmd, a Perl module that provides an interface to HCL VersionVault.
In order to use this Perl module in HCL VersionVault triggers for HCL Compass integrations (such as checking in schema changes), and in HCL Compass Perl hook scripts you must build CtCmd on Windows™ (following the instructions included with the CtCmd kit) and install it to a globally accessible UNC path.
In Using CtCmd for UCM and HCL Compass, there is code to enable using the correct module path based on the platform (OSNAME in the following examples), which allows the hook scripts to pass validation at check in.