Continuus Support

These Apache Ant tasks are wrappers around Continuus Source Manager. They have been tested against versions 5.1/6.2 on Windows 2000, but should work on other platforms with ccm installed.


CCMCheckin

Description

Check in a file to Continuus

Parameters

Attribute Values Required
file Path to the file that the command will operate on Yes
comment Specify a comment. No; default is Checkin plus the date
task Specify the task number used to check in the file (may use default) No
ccmdir path to the ccm executable file, required if it is not on the PATH No

Examples

Check in the file c:/wa/com/foo/MyFile.java. Text mycomment is added as a comment. The task used is the one set as the default.

<ccmcheckin file="c:/wa/com/foo/MyFile.java"
            comment="mycomment"/>

CCMCheckout

Description

Run a Continuus checkout command

Parameters

Attribute Values Required
file Path to the file that the command will operate on Exactly one of the two
fileset fileset containing the file to be checked out
comment Specify a comment No
task Specify the task number used to checkin the file (may use default) No
ccmdir path to the ccm executable file, required if it is not on the PATH No

Examples

Check out the file c:/wa/com/foo/MyFile.java. Comment attribute mycomment is added as a task comment. The task used is the one set as the default.

<ccmcheckout file="c:/wa/com/foo/MyFile.java"
             comment="mycomment"/>

Check out all the files in the lib directory having the .jar extension. Comment attribute mycomment is added as a task comment The used task is the one set as the default.

<ccmcheckout comment="mycomment">
  <fileset dir="lib" >
    <include name="**/*.jar"/>
  </fileset>
</ccmcheckout >

CCMCheckinTask

Description

Run a Continuus command to checkin default task

Parameters

Attribute Values Required
comment Specify a comment. No
task Specify the task number used to check in the file (may use default) No
ccmdir path to the ccm executable file, required if it is not on the PATH No

Examples

Perform a Checkin default task on all the checked out files in the current task.

<ccmcheckintask comment="blahblah/>

CCMReconfigure

Description

Run a Continuus reconfigure/update command

Parameters

Attribute Values Required
recurse recurse on subproject No; default is false
verbose do a verbose reconfigure operation No; default is false
ccmproject Specifies the ccm project on which the operation is applied. Yes
ccmdir path to the ccm executable file, required if it is not on the PATH No

Examples

Perform a Continuus reconfigure on the project ANTCCM_TEST#BMO_1.

<ccmreconfigure ccmproject="ANTCCM_TEST#BMO_1"
                verbose="true"/>

CCMCreateTask

Description

Create a Continuus task.

Parameters

Attribute Values Required
comment Specify a comment No
platform Specify the target platform No
ccmdir path to the ccm executable file, required if it is not on the PATH No
resolver Specify the resolver No
release Specify the CCM release No
subsystem Specify the subsystem No
task Specify the task number used to checkin the file (may use default) No

Examples

Create a task for the release ANTCCM_TEST with the current user as the resolver for this task.

<ccmcreatetask resolver="${user.name}"
               release="ANTCCM_TEST" comment="blahblah"/>