SSCMBranch Task
Surround SCM Branch task for creating new branches.
Apache Ant
 
Description

<taskdef name="sscmbranch" classname="com.seapine.surroundscm.ant.SSCMBranch" />

 
Parameters
Attribute Description Type Requirement
repository Enter the full repository path. String Required
branch Enter the parent branch you want to create the new, child branch from. If this option is not specified, the mainline branch is used. String Optional
comment Enter a comment. String
includeremoved Include removed files when creating a branch with the Type or Timestamp options. Default is true. boolean
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
type Enter the type of branch you want to create: workspace (default), baseline, or snapshot. "workspace", "baseline", "snapshot"
 
Parameters as nested elements
 
Examples
 <sscmbranch
   serverconnect="localhost:4900"
   serverlogin="administrator:"
   branch="Widget 1.0"
   repository="Mainline/Widget"
   parent="Mainline"
   comment="Branch for continuing Widget 1.0 development"
   type="baseline"
   />

Create a new Baseline branch 'Widget 1.0' from branch 'Mainline', repository 'Mainline/Widget' with the given comments. All files are branched at the tip version.

 <sscmbranch
   serverconnect="localhost:4900"
   serverlogin="administrator:"
   branch="MyWidgetDevelopment"
   repository="Mainline/Widget"
   parent="Widget 1.0"
   />

Create a new Workspace branch 'MyWidgetDevelopment' from branch 'Widget 1.0', repository 'Mainline/Widget'. All files are branched at the tip version.

 <sscmbranch
   serverconnect="localhost:4900"
   serverlogin="administrator:"
   branch="Build as of 12-1-03"
   repository="Mainline/Widget"
   parent="Widget 1.0"
   comment="Snapshot of source as it was on December 1st, 2003"
   bytimestamp="2003120300:00:00"
   type="snapshot"
   />

Create a new Snapshot branch 'Build as of 12-1-03' from branch 'Widget 1.0', repository 'Mainline/Widget' with the given comments. All files are branched at their version as of 12-01-03.


Copyright © 2000-2003, Apache Software Foundation