Software configuration management process - Codematrix Software configuration management process - Codematrix Software configuration management process - Codematrix Software configuration management process - Codematrix Software configuration management process - Codematrix Software configuration management process - Codematrix Software configuration management process - Codematrix  
 
Codematrix - Navigation
 
 
Codematrix software configuration management
Configuration management software
SCM product info
SCM software downloads
Software version control and change management software
Configuration management software support
Training for software configuration management
Code Matrix Personal, Codematrix Professional, CodeMatrix Enterprise
Codematrix contact details
 
Home > Documentation
 
Download - Administrators Guide Knowledge base
Knowledge base index
 
How do I access CodeMatrix functions from a script?

CodeMatrix implements a command line interface program. This program can be called from any scripting language supported by the operating system in use. For details of the supported commands, consult the command line interface user guide.

Note that the command line interface program is invoked by entering cx at an operating system command prompt or console, however on Windows systems the actual program executed is cxx.exe, therefore scripts for Windows operating systems should reference this module.

A script that needs to use transactions needs special consideration, because each time the command line interface is invoked a new transaction is created, and terminated when the program instance ends. For this reason the script must redirect commands to the processor in a block, as shown in the following Windows example.


echo begin > ~tmp
echo co -r //cx/*.h >> ~tmp
echo co -r //cx/*.cpp >> ~tmp
echo end >> ~tmp
type ~tmp | cxx


See also:

Using the command line interface