java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.optional.clearcase.ClearCase
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
All Implemented Interfaces:
Cloneable
The following attributes are interpreted:
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | No |
| reserved | Specifies whether to check out the file as reserved or not | Yes |
| out | Creates a writable file under a different filename | No |
| nodata | Checks out the file but does not create an editable file containing its data | No |
| branch | Specify a branch to check out the file to | No |
| version | Allows checkout of a version other than main latest | No |
| nowarn | Suppress warning messages | No |
| comment | Specify a comment. Only one of comment or cfile may be used. | No |
| commentfile | Specify a file containing a comment. Only one of comment or cfile may be used. | No |
| notco | Fail if it's already checked out to the current view. Set to false to ignore it. | No |
| failonerr | Throw an exception if the command fails. Default is true | No |
| Field Summary | ||
|---|---|---|
| public static final String | FLAG_RESERVED | -reserved flag -- check out the file as reserved |
| public static final String | FLAG_UNRESERVED | -reserved flag -- check out the file as unreserved |
| public static final String | FLAG_OUT | -out flag -- create a writable file under a different filename |
| public static final String | FLAG_NODATA | -ndata flag -- checks out the file but does not create an editable file containing its data |
| public static final String | FLAG_BRANCH | -branch flag -- checks out the file on a specified branch |
| public static final String | FLAG_VERSION | -version flag -- allows checkout of a version that is not main latest |
| public static final String | FLAG_NOWARN | -nwarn flag -- suppresses warning messages |
| public static final String | FLAG_COMMENT | -c flag -- comment to attach to the file |
| public static final String | FLAG_COMMENTFILE | -cfile flag -- file containing a comment to attach to the file |
| public static final String | FLAG_NOCOMMENT | -nc flag -- no comment is specified |
| Fields inherited from org.apache.tools.ant.Task: |
|---|
| target, taskName, taskType, wrapper |
| Fields inherited from org.apache.tools.ant.ProjectComponent: |
|---|
| project, location, description |
| Method from org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout Summary: |
|---|
| execute, getBranch, getComment, getCommentFile, getNoData, getNoWarn, getNotco, getOut, getReserved, getVersion, setBranch, setComment, setCommentFile, setNoData, setNoWarn, setNotco, setOut, setReserved, setVersion |
| Methods from org.apache.tools.ant.taskdefs.optional.clearcase.ClearCase: |
|---|
| getClearToolCommand, getFailOnErr, getObjSelect, getViewPath, getViewPathBasename, run, runS, setClearToolDir, setFailOnErr, setObjSelect, setViewPath |
| Methods from org.apache.tools.ant.Task: |
|---|
| bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, markInvalid, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods from org.apache.tools.ant.ProjectComponent: |
|---|
| clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout Detail: |
|---|
Builds a command line to execute cleartool and then calls Exec's run method to execute the command line. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|