Thank you for the info, Stefan. --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > Thank you for your contribution Curtis. > > Sources would have been enough, we expect anybody on > ant-dev to be > able to build Ant from sources 8-).
OK. From now on I will just include the source code. > > When submitting new versions of files that are > already there > (default.properties in this case), please send them > as a patch. This > makes it easier for us to apply your changes even if > the file in > question has changed in the meantime. See > <http://jakarta.apache.org/guidelines/source.html> > for details about > patches. > I will make a patch for this file and send it. > Sending in javadocs isn't necessary for the same > reasons you don't > need to send classes, but we'd appreciate a HTML > documentation of your > tasks in a format similar to the one used in > docs/index.html when > describing tasks. > I am attaching an HTML file that contains this documentation. > Cheers > > Stefan Thanks again for the help. Curtis __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/Title: Ant
Optional tasks
CCUpdate
Description
Task to perform an Update command to ClearCase.Parameters
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | Yes |
| graphical | Displays a graphical dialog during the update | No |
| log | Specifies a log file for ClearCase to write to | No |
| overwrite | Specifies whether to overwrite hijacked files or not | No |
| rename | Specifies that hijacked files should be renamed with a .keep extension | No |
| currenttime | Specifies that modification time should be written as the current time. Either currenttime or preservetime can be specified. | No |
| preservetime | Specifies that modification time should preserved from the VOB time. Either currenttime or preservetime can be specified. | No |
Examples
<ccupdate viewpath="c:/views/viewdir"
graphical="false"
log="log.log"
overwrite="true"
currenttime="true"
rename="false"/>
Does a ClearCase update on the directory c:/views/viewdir. A graphical dialog will be displayed. The output will be logged to log.log and it will overwrite any hijacked files. The modified time will be set to the current time.
CCCheckout
Description
Task to perform a Checkout command to ClearCase.Parameters
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | Yes |
| 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 |
Examples
<cccheckout viewpath="c:/views/viewdir/afile"
reserved="true"
branch="abranch"
nowarn="true"
comment="Some comment text"/>
Does a ClearCase checkout on the file c:/views/viewdir/afile. It is checked out as reserved on branch called abranch. All warning messages are suppressed. A Some comment text is added to ClearCase as a comment.
CCCheckin
Description
Task to perform a Checkin command to ClearCase.Parameters
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | Yes |
| 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 |
| nowarn | Suppress warning messages | No |
| preservetime | Preserve the modification time | No |
| keepcopy | Keeps a copy of the file with a .keep extension | No |
| identical | Allows the file to be checked in even if it is identical to the original | No |
Examples
<cccheckin viewpath="c:/views/viewdir/afile"
commentfile="acomment.txt"/>
nowarn="true"
identical="true"
Does a ClearCase checkin on the file c:/views/viewdir/afile. Comment text from the file acomment.txt is added to ClearCase as a comment. All warning messages are suppressed. The file is checked in even if it is identical to the original.
CCUnCheckout
Description
Task to perform a UnCheckout command to ClearCase.Parameters
| Attribute | Values | Required |
|---|---|---|
| viewpath | Path to the ClearCase view file or directory that the command will operate on | Yes |
| keepcopy | Specifies whether to keep a copy of the file with a .keep extension or not | No |
Examples
<ccuncheckout viewpath="c:/views/viewdir/afile"
keepcopy="true"/>
Does a ClearCase uncheckout on the file c:/views/viewdir/afile. A copy of the file called c:/views/viewdir/afile.keep is kept.
