SSCMCheckin Task
Surround SCM Check In task for checking in files.
Apache Ant
 
Description

Check in updates Surround SCM files with changes, removes the lock on the files, and makes changes available to other users.

<taskdef name="sscmcheckin" classname="com.seapine.surroundscm.ant.SSCMCheckin" />

 
Parameters
Attribute Description Type Requirement
file Enter a file or repository name. Can be / or empty, which means the repository specified by the repository option or the default repository. String Required
branch Enter the branch name to check in the changes to. The default branch is set in the working directory. String Optional
comment Enter a comment. String
deletelocal Remove local file after check in. boolean
force Allow file check in even if no change is made. boolean
getfiles Get file after check in. Default is true. boolean
keepcheckedout Keep the lock after check in. boolean
label Enter a label for the check in code. String
makewritable Make file writable after check in. boolean
overwritelabel Overwrite previous label on file. Default is false. boolean
quiet Quiet mode. Do not list repository and local full path of the Surround SCM server. boolean
recursive Recursively check in all files and sub-repositories. boolean
repository Enter the full repository path. String
failOnError Set to true if you want the task to throw a BuildException when it fails. boolean
serverconnect Enter the address and port number of the Surround SCM server host computer. If not entered, use the last saved connection parameters. String
serverlogin Enter the username and password used to login to the Surround SCM server. If not entered, use the last saved login parameters. String
skipmerge Force check in without merge. This option ignores code changes checked in after the user's last checkout or merge. boolean
ttpdatabase Enter the TestTrack Pro database configuration name. String
ttpdefects Enter the TestTrack Pro defect number(s) for attachment. Format is "#:#:#:#" String
ttplogin Enter the TestTrack Pro username and password. String
 
Parameters as nested elements
 
Examples
 <sscmcheckin
   serverconnect="localhost:4900"
   serverlogin="administrator:"
   file="/"
   branch="Widget 1.0"
   repository="Mainline/Widget"
   recursive="true"
   comment="I made some changes"
   />

Check In all files and repositories from repository 'Mainline/Widget' recursively from the 'Widget 1.0' branch to the working directory setup for user 'administrator'. This call will output the progress of the Check In to the console. Add quiet="true" to hide these progress messages.

 <sscmcheckin
   serverconnect="localhost:4900"
   serverlogin="administrator:"
   file="Widget.java"
   branch="Widget 1.0"
   repository="Mainline/Widget"
   comment="I made some changes"
   label="Release 1.1.1"
   overwritelabel="true"
   />

Check In file 'Mainline/Widget/Widget.java' from the 'Widget 1.0' branch from the working directory setup for user 'administrator' with comment 'I made some changes'. Set the 'Release 1.1.1' label to this new version, even if the label already exists on an earlier version of the file.


Copyright © 2000-2003, Apache Software Foundation