gmStudio Command Line
This page describes how gmStudio can be used as a console application for
- gmStudio Command Line Syntax
- Sample Command Scripts
gmStudio Command Line Syntax
gmStudio /AUTOBATCH = ["YES"|"NO"] /CFG = "cfgpath" /MIG = "migpath" /TOOLS = "tool_list" /TASKS = "task_list" /REPORTS = "report_list"
/AUTOBATCH = "YES|NO"
If AutoBatch=YES then the command list specified
in the migration project file (.gmproj) will be performed.
Otherwise, the set of task/tools specified on the command
line will be performed.
/CFG = "cfgpath" sets the path to an application config file
/MIG = "migpath" sets path to a migration project file
/TOOLS = "tool_list" specifies a comma delimited list of the following tools (iterate over all migration units for each tool)
Apply Task Filter,
Author Interop Assemblies,
Author Interface Descriptions,
Set Build Order,
Author Resx Files,
/TASKS = "task_list" specifies a comma-delimited list of the following tasks (iterate over list of all tasks for each migration unit)
Snapshot a Baseline,
Reset Task Status,
/REPORTS = "report_list" specifies a comma-delimited list of reports
Source GUI Scan,
Source Code Scan,
Interface File Headers,
Interface File ProgIds,
.NET Build Logs,
Migration Project List,
Target Code Scan,
Note that tools are processed before tasks.
Sample Command Scripts
For examples of using gmStudio as a console application command line, see
the sample scripts in the [INSTALLDIR]\batch folder:
runall.cmd: is a driver script that initialized the environment
then calls run1set.cmd for a collection of migration projects.
run1set.cmd: specifies the tasks, tools, and reports to
perform for each migration project.
gather_reports.cmd: is used to consolidate reports from
multiple project workspaces. It assumes all of the workspaces
are under a common root folder.