The following attributes are interpreted:
| Attribute | Values | Required |
|---|---|---|
| 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 |
| baselinerootname | Specify the name to be associated with the baseline. | Yes |
| nowarn | Suppress warning messages | No |
| identical | Allows the baseline to be created even if it is identical to the previous baseline. | No |
| full | Creates a full baseline. | No |
| nlabel | Allows the baseline to be created without a label. | No |
| failonerr | Throw an exception if the command fails. Default is true | No |
| Modifier and Type | Field and Description |
|---|---|
| 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_FULL
-full flag -- baseline to be created is full |
| public static final String | FLAG_IDENTICAL
-identical flag -- allows the file to be checked in even if it is identical to the original |
| public static final String | FLAG_INCREMENTAL
-incremental flag -- baseline to be created is incremental |
| public static final String | FLAG_NLABEL
-nlabel -- baseline to be created without a label |
| public static final String | FLAG_NOCOMMENT
-nc flag -- no comment is specified |
| private String | |
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public String | |
| public String | |
| private void | getCommentCommand(Commandline
containing the command line string with or
without the comment flag and string appended cmd)Get the 'comment' command |
| public String | |
| private void | getCommentFileCommand(Commandline
CommandLine containing the command line string with or
without the commentfile flag and file appended cmd)Get the 'commentfile' command |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| FLAG_COMMENT | back to summary |
|---|---|
| public static final String FLAG_COMMENT -c flag -- comment to attach to the file | |
| FLAG_COMMENTFILE | back to summary |
|---|---|
| public static final String FLAG_COMMENTFILE -cfile flag -- file containing a comment to attach to the file | |
| FLAG_FULL | back to summary |
|---|---|
| public static final String FLAG_FULL -full flag -- baseline to be created is full | |
| FLAG_IDENTICAL | back to summary |
|---|---|
| public static final String FLAG_IDENTICAL -identical flag -- allows the file to be checked in even if it is identical to the original | |
| FLAG_INCREMENTAL | back to summary |
|---|---|
| public static final String FLAG_INCREMENTAL -incremental flag -- baseline to be created is incremental | |
| FLAG_NLABEL | back to summary |
|---|---|
| public static final String FLAG_NLABEL -nlabel -- baseline to be created without a label | |
| FLAG_NOCOMMENT | back to summary |
|---|---|
| public static final String FLAG_NOCOMMENT -nc flag -- no comment is specified | |
| mBaselineRootName | back to summary |
|---|---|
| private String mBaselineRootName | |
| mCfile | back to summary |
|---|---|
| private String mCfile | |
| mComment | back to summary |
|---|---|
| private String mComment | |
| mFull | back to summary |
|---|---|
| private boolean mFull | |
| mIdentical | back to summary |
|---|---|
| private boolean mIdentical | |
| mNlabel | back to summary |
|---|---|
| private boolean mNlabel | |
| mNwarn | back to summary |
|---|---|
| private boolean mNwarn | |
| CCMkbl | back to summary |
|---|---|
| public CCMkbl() | |
| checkOptions | back to summary |
|---|---|
| private void checkOptions(Commandline cmd) Check the command line options. | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Executes the task. Builds a command line to execute cleartool and then calls Exec's run method to execute the command line.
| |
| getBaselineRootName | back to summary |
|---|---|
| public String getBaselineRootName() Get baseline_root_name
| |
| getComment | back to summary |
|---|---|
| public String getComment() Get comment string
| |
| getCommentCommand | back to summary |
|---|---|
| private void getCommentCommand(Commandline cmd) Get the 'comment' command
| |
| getCommentFile | back to summary |
|---|---|
| public String getCommentFile() Get comment file
| |
| getCommentFileCommand | back to summary |
|---|---|
| private void getCommentFileCommand(Commandline cmd) Get the 'commentfile' command
| |
| getFull | back to summary |
|---|---|
| public boolean getFull() Get full flag status
| |
| getIdentical | back to summary |
|---|---|
| public boolean getIdentical() Get identical flag status
| |
| getNlabel | back to summary |
|---|---|
| public boolean getNlabel() Get nlabel status
| |
| getNoWarn | back to summary |
|---|---|
| public boolean getNoWarn() Get nowarn flag status
| |
| setBaselineRootName | back to summary |
|---|---|
| public void setBaselineRootName(String baselineRootName) Set baseline_root_name
| |
| setComment | back to summary |
|---|---|
| public void setComment(String comment) Set comment string
| |
| setCommentFile | back to summary |
|---|---|
| public void setCommentFile(String cfile) Set comment file
| |
| setFull | back to summary |
|---|---|
| public void setFull(boolean full) Set the full flag
| |
| setIdentical | back to summary |
|---|---|
| public void setIdentical(boolean identical) Set the identical flag
| |
| setNlabel | back to summary |
|---|---|
| public void setNlabel(boolean nlabel) Set the nlabel flag
| |
| setNoWarn | back to summary |
|---|---|
| public void setNoWarn(boolean nwarn) Set the nowarn flag
| |