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:

Full Name Short name Optional Description
-definitionFile
-d
No File containing interface definition
-outputPath -o Yes Path for generated output files
-dataModelClass -dmc Yes Fully qualified name of Data-Model
-dataModelInclude -dmi Yes Include path for Data-Model
-namespace -n Yes Namespace of generated code
-xcdlNamespace -xn Yes Namespace of code generated by XCDL files
-complexTypes -ct Yes Path of Complex-Type definition file

Model-Code Generator

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.

It has the following arguments:

Full Name Short name Optional Description
-xcdlDefinitionFile
-xd
No File containing XCDL definition
-xcdlIncludePaths -xi No XCDL include paths separated by ';'
-className -c No Output class and filename of generated files
-namespace -n Yes Namespace of generated code
-outputPath -o Yes Path for generated output files
-includeFiles -i No Include files separated by ';'. Must at least include root XCDL file.

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:

Full Name Short name Optional Description
-connectorProject
-cp
No Connector Project file
-buildProject -bp No Build Project file
-buildName -bn No Name of the Build to run
-buildOptions -bo Yes Options for this build provided as 'NAME=VALUE' pairs separated by a semicolon