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.
Check in a file to Continuus
| Attribute | Values | Required |
|---|---|---|
| file | Path to the file that the command will operate on | Yes |
| comment | Specify a comment. | No; default is Checkinplus 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 |
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"/>
Run a Continuus checkout command
| 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 |
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 >
Run a Continuus command to checkin default task
| 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 |
Perform a Checkin default task on all the checked out files in the current task.
<ccmcheckintask comment="blahblah/>
Run a Continuus reconfigure/update command
| 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 |
Perform a Continuus reconfigure on the project ANTCCM_TEST#BMO_1.
<ccmreconfigure ccmproject="ANTCCM_TEST#BMO_1"
verbose="true"/>
Create a Continuus task.
| 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 |
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"/>