|
Continuus - Perl interface to Continuus CM |
Continuus - Perl interface to Continuus CM
use Continuus;
Check out a file:
use Continuus;
$ccm = new Continuus;
$ccm->start(database => '/proj/Continuus4/rig',
host => 'stoxserv01');
$ccm->checkOut(file => 'main.c',
version => '2');
$ccm->stop();
The Continuus perl module is a interface to the most common Continuus functions.
0.1 Created.
The new method creates a new Continuus object.
The start method starts a new Continuus session.
Parameters: database: Database to open.
host: Hostname to start the engine on.
iniFile: Ini file to read.
Example: $ccm->start(database => "/proj/Continuus0/rig/", host => "stoccm01");
The command method acts as a interface to all other Continuus functions not implemented in the Continuus module.
Parameters: command: The command to be executed by Continuus
Example:
$ccm->command('status');
The stop command quits the current Continuus session.
Parameters: None.
The query command is a interface to the Continuus query command.
Parameters: query: The query string flags: Flags to pass to Continuus. Format: Formatting options.
Example: $ccm->query(query => "status='released'", flags => "-u", format => "%objectname");
Checks out a file.
Parameters: file: The file to check out. version: The version to set on the new file.
Example: $ccm->checkOut(file => "main.c", version => "1.1");
Checks in a file.
Parameters: file: The file to check out. comment: The comment to set on the new file.
Example: $ccm->checkIn(file => "main.c", comment => "Created");
Reconfigure command
Parameters: project: The project to reconfigure. parameters: Other parameters to pass to the reconfigure command.
Example: $ccm->checkOut(file => "main.c", version => "1.1");
Sets the debugging information on.
Sets the debugging information off.
Henrik Jönsson henrik7205@hotmail.com
|
Continuus - Perl interface to Continuus CM |