Using the same script
To use the same trigger script on Linux®, the UNIX system, and the Windows® system, use a batch command interpreter that runs on all operating systems. For this purpose, the ratlperl program is included in the HCL VersionVault configuration. You can use this version of Perl on the Windows® system, Linux®, and the UNIX system. The commands Perl on Linux® and the UNIX system and ccperl on the Windows® system are wrapper programs that run ratlperl.
cleartool mktrtype –element –all –nc –preop checkin \
–execunix 'Perl /public/scripts/precheckin.pl' \
–execwin 'ccperl \\neon\scripts\precheckin.pl' \
pre_ci_trig
- On Linux and the UNIX system: /opt/hcl/ccm/common/bin
- On the Windows® system: <install_location>\HCL\Common\
The value install_location is the root folder in which you installed HCL VersionVault.