More Information

Follow Us

Join our community of like minded
individuals and be the first to hear
about products, news and deals.

Newsletter



[Collapse]CodeCollaborator 5
 [Expand]Big Picture/support/viewarticle/20018/
 [Expand]Server Administration/support/viewarticle/20087/
 [Expand]Web User's Guide/support/viewarticle/20071/
 [Collapse]Clients/support/viewarticle/20077/
   Installation/support/viewarticle/20091/
  [Expand]Configuration/support/viewarticle/20226/
  [Expand]GUI Client/support/viewarticle/20059/
  [Collapse]Command Line Client/support/viewarticle/20053/
    Configuration/support/viewarticle/20022/
    Commands/support/viewarticle/20232/
    Graphical Editor/support/viewarticle/20028/
    Uploading Diffs/support/viewarticle/20234/
    Troubleshooting/support/viewarticle/20084/
    Global Options Reference/support/viewarticle/20016/
   [Collapse]Command-line Reference/support/viewarticle/20092/
     help/support/viewarticle/20104/
     info/support/viewarticle/20108/
     login/support/viewarticle/20096/
     set/support/viewarticle/20020/
     addchanges/support/viewarticle/20115/
     addfiles/support/viewarticle/20114/
     addchangelist/support/viewarticle/20101/
     adddiffs/support/viewarticle/20103/
     addsvndiffs/support/viewarticle/20097/
     addardiffs/support/viewarticle/20023/
     addcvsdiffs/support/viewarticle/20095/
     addgitdiffs/support/viewarticle/20111/
     addhgdiffs/support/viewarticle/20110/
     addp4diffs/support/viewarticle/20099/
     addstdiffs/support/viewarticle/20107/
     addvssdiffs/support/viewarticle/20100/
     addversions/support/viewarticle/20106/
     addactivity/support/viewarticle/20109/
     actionitems/support/viewarticle/20102/
     addtrack/support/viewarticle/20112/
     addstream/support/viewarticle/20015/
     browse/support/viewarticle/20113/
     commit/support/viewarticle/20094/
     addp4job/support/viewarticle/20093/
     addurls/support/viewarticle/20098/
    [Collapse]admin/support/viewarticle/20105/
      syncusers/support/viewarticle/20174/
      review-xml/support/viewarticle/20166/
      batch/support/viewarticle/20173/
      wget/support/viewarticle/20168/
     [Expand]config/support/viewarticle/20165/
     [Expand]review/support/viewarticle/20169/
     [Expand]user/support/viewarticle/20167/
     [Expand]trigger/support/viewarticle/20172/
     [Expand]group/support/viewarticle/20170/
     [Expand]changelist/support/viewarticle/20171/
   Tray Notifier/support/viewarticle/20049/
   External Diff Viewer launcher/support/viewarticle/20126/
  [Expand]Eclipse Plug-in/support/viewarticle/20029/
 [Expand]Version Control Integration/support/viewarticle/20031/
 [Expand]External Integrations/support/viewarticle/20301/
 [Expand]Techniques & Best Practices/support/viewarticle/20302/
 [Expand]Appendices/support/viewarticle/20078/
Updated: 4/18/2011 Applies To: CodeCollaborator 5 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent

ccollab admin batch

Top Previous Next

Usage: ccollab [global-options] admin batch <commands-file>

batch - Process multiple commands with one connection

Command Options

Option

Required?

Description

<commands-file>

Y

File containing commands in XML format, or "-" to read from STDIN

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. For option and argument elements that can accept multiple values, specify a new element 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.



© 2012 SmartBear Software. All rights reserved.
Email Send feedback on this document
 

+1 978-236-7900

© 2012 SmartBear Software. All rights reserved.
Home | Privacy | Terms of Use | About | Contact Us | Site Map | Print