org.apache.tools.ant.taskdefs.optional.clearcase
public class CCUnCheckout extends ClearCase
The following attributes are interpreted:
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | No |
| keepcopy | Specifies whether to keep a copy of the file with a .keep extension or not | No |
| failonerr | Throw an exception if the command fails. Default is true | No |
| Field Summary | |
|---|---|
| static String | FLAG_KEEPCOPY
-keep flag -- keep a copy of the file with .keep extension |
| static String | FLAG_RM
-rm flag -- remove the copy of the file |
| Method Summary | |
|---|---|
| void | execute()
Executes the task.
|
| boolean | getKeepCopy()
Get keepcopy flag status
|
| void | setKeepCopy(boolean keep)
If true, keep a copy of the file with a .keep extension.
|
Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.
Throws: BuildException if the command fails and failonerr is set to true
Returns: boolean containing status of keep flag
Parameters: keep the status to set the flag to