ccollab admin batch |
Top Previous Next |
Usage: ccollab [global-options] admin batch <commands-file>
batch - Process multiple commands with one connection
Running multiple commands in batch form ensures that the 'last' review and defect variables stay consistent, even if there are multiple concurrent invocations of the client. It's also easier to encode non-ascii characters in XML.
Global Options specified in the XML override the current Global Options.
Command options should be given without the leading double-dash. Both option and argument values are given as text values inside elements. Foroption and argument elements that can accept multiple values, specify a newelement for each value.
Example XML file:
<batch-commands> <global-options> <no-browser/> <non-interactive/> </global-options> <addchanges> <upload-comment>These are my latest changes!</upload-comment> <review>new</review> <file-spec>.</file-spec> </addchanges> <addfiles> <review>last</review> <file-path>checklist.txt</file-path> <file-path>foo/bar.java</file-path> <file-path>biz/buzz.java</file-path> </addfiles> <browse> <review>last</review> </browse> </batch-commands>
Run 'ccollab help batch-xml' for the full XML Schema accepted by this command. |