Home  Tutorial  Cqc  CQC Command Line Interface (CLI)

CQC batch processing

For milestone-generation (formal inspections) the CQC client can be started in batch-mode, by invoking the executable (from the command prompt) with the -batch option as first parameter (always).

Synopsis:

cqc -batch the -batch option always has to be supplied to suppress the CQC Wizard interface
cqc -batch -query the -query option generates a list of available products in the QStudio repository. Only the products you are authorized for will appaer in the list (build- and/or product-manager rol in product team). For every product an ID and the name are listed.
cqc -batch <project.qsp> the inspection run is performed according to the project-properties of <project.qsp>. Through <project.qsp> the source files, the Java source version, the paths (Output-, Source- and Class-path) and the product context (standards) are specified.
cqc -batch -standard <standard> <project.qsp> the -standard option is used to identify the product (context) in which the inspection run will be performed. The standard can be identified by both name and ID. The ID and standard names can be retrieved with the -query option. The product context in <project.qsp> is overridden by the specified <standard>.
cqc -batch [-scan] -standard <standard> <project.qsp> the -scan option is used when the project file contains definitions of directories (instead of Java files). In this case all Java files within the directory are incorporated in the project file at run-time.

Synopsis:

cqc -scm -standard <standard> -project <project.qsp> <filename> the -standard option is used to identify the product (context) in which the inspection run will be performed. The <standard> can be retrieved with the option -batch -query (see above). The product context in <project.qsp> is overridden by the specified <standard>.
Other options
-server <server name or ip address> Specify the QStudio Enterprise server. Overrides the server given at installation time.
-jndiPort <port number> Specify a different JNDI port number. default is 1099
-debug Print debug information to stdout
Support request
Copyright (c) 1999-2005 QA Systems BV.
All Rights Reserved.