# Tools

There are multiple tools include in the CGI Connector which also can be used directly without interfacing with the main Connector UI. These tools will be explained here.

# Interface-Code Generator

This tool is located at “cgi\_studio\_connector/bin/InterfaceCodeGenerator.exe” and is the main tool to generate the interface code. It has the following arguments:

It has the following arguments:

<table border="1" id="bkmrk-property-name-descri-22" style="border-collapse: collapse; width: 88.0247%; height: 233.375px;"><colgroup><col style="width: 20.927%;"></col><col style="width: 15.4494%;"></col><col style="width: 15.3068%;"></col><col style="width: 48.4572%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Full Name**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Short name**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Optional**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Description**</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-definitionFile** </td><td class="align-left" style="height: 29.7969px;">-d  
</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;"><span lang="EN-US" style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt; line-height: 107%; font-family: 'Daytona',sans-serif; mso-fareast-font-family: 游明朝; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA;">File containing interface definition</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-outputPath**</td><td class="align-left" style="height: 29.7969px;">-o</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;"><span lang="EN-US" style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt; line-height: 107%; font-family: 'Daytona',sans-serif; mso-fareast-font-family: 游明朝; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA;">Path for generated output files</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-dataModelClass**</td><td class="align-left" style="height: 29.7969px;">-dmc</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Fully qualified name of Data-Model</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-dataModelInclude**</td><td class="align-left" style="height: 29.7969px;">-dmi</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Include path for Data-Model</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-namespace**</td><td class="align-left" style="height: 29.7969px;">-n</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Namespace of generated code</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-xcdlNamespace**</td><td class="align-left" style="height: 29.7969px;">-xn</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Namespace of code generated by XCDL files</td></tr><tr style="height: 24.7969px;"><td style="height: 24.7969px;">**-complexTypes**</td><td class="align-left" style="height: 24.7969px;">-ct</td><td class="align-left" style="height: 24.7969px;">Yes</td><td style="height: 24.7969px;">Path of Complex-Type definition file</td></tr></tbody></table>

---

# Model-Code Generator

<span lang="EN-US">This tool is located at “cgi\_studio\_connector/bin/ModelCodeGenerator.exe” and generates a basic Data-Model based on the Courier-XCDL definition. This model is generated in such a way that the Interface-Buffer can easily interact with it.</span>

<span lang="EN-US" style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt; line-height: 107%; font-family: 'Daytona',sans-serif; mso-fareast-font-family: 游明朝; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA;">It has the following arguments:</span>

<table border="1" id="bkmrk-property-name-descri-22" style="border-collapse: collapse; width: 88.0247%; height: 238.375px;"><colgroup><col style="width: 20.927%;"></col><col style="width: 15.4494%;"></col><col style="width: 15.3068%;"></col><col style="width: 48.4572%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Full Name**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Short name**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Optional**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Description**</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-xcdlDefinitionFile** </td><td class="align-left" style="height: 29.7969px;">-xd  
</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;"><span lang="EN-US" style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt; line-height: 107%; font-family: 'Daytona',sans-serif; mso-fareast-font-family: 游明朝; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA;">File containing XCDL definition</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-xcdlIncludePaths**</td><td class="align-left" style="height: 29.7969px;">-xi</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;">XCDL include paths separated by ';'</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-className**</td><td class="align-left" style="height: 29.7969px;">-c</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;">Output class and filename of generated files</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-namespace**</td><td class="align-left" style="height: 29.7969px;">-n</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Namespace of generated code</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-outputPath**</td><td class="align-left" style="height: 29.7969px;">-o</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Path for generated output files</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-includeFiles**</td><td class="align-left" style="height: 29.7969px;">-i</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;">Include files separated by ';'. Must at least include root XCDL file.</td></tr></tbody></table>

---

# Build Command Line Interface

This tool is located at “cgi\_studio\_connector/bin/BuildCLI.exe” and allows the user to execute a build via the command line. The main purpose of this is to automate builds.

It has the following arguments:

<table border="1" id="bkmrk-property-name-descri-22" style="border-collapse: collapse; width: 88.0247%; height: 233.375px;"><colgroup><col style="width: 20.927%;"></col><col style="width: 15.4494%;"></col><col style="width: 15.3068%;"></col><col style="width: 48.4572%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Full Name**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Short name**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Optional**</span></td><td class="align-center" style="background-color: rgb(230, 126, 35); height: 29.7969px;"><span style="color: rgb(255, 255, 255);">**Description**</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-connectorProject** </td><td class="align-left" style="height: 29.7969px;">-cp  
</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;"><span lang="EN-US" style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt; line-height: 107%; font-family: 'Daytona',sans-serif; mso-fareast-font-family: 游明朝; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA;">Connector Project file</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-buildProject**</td><td class="align-left" style="height: 29.7969px;">-bp</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;"><span lang="EN-US" style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt; line-height: 107%; font-family: 'Daytona',sans-serif; mso-fareast-font-family: 游明朝; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: JA; mso-bidi-language: AR-SA;">Build Project file</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-buildName**</td><td class="align-left" style="height: 29.7969px;">-bn</td><td class="align-left" style="height: 29.7969px;">No</td><td style="height: 29.7969px;">Name of the Build to run</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**-buildOptions**</td><td class="align-left" style="height: 29.7969px;">-bo</td><td class="align-left" style="height: 29.7969px;">Yes</td><td style="height: 29.7969px;">Options for this build provided as 'NAME=VALUE' pairs separated by a semicolon</td></tr></tbody></table>