Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 gmStudio Command Line

This page describes how gmStudio can be used as a console application for batch processing.
  1. gmStudio Command Line Syntax
  2. Sample Command Scripts

 gmStudio Command Line Syntax

   gmStudio /AUTOBATCH = ["YES"|"NO"] /CFG = "cfgpath" /MIG = "migpath" /TOOLS = "tool_list" /TASKS = "task_list" /REPORTS = "report_list"


      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,
      Create Buildset,
      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)

      Validate Source,
      Build VB6,
      Snapshot a Baseline,
      Reset Task Status,
      Run Translation,
      Deploy Translation,
      Build Translation

   /REPORTS = "report_list" specifies a comma-delimited list of reports

      Source Structure,
      Source References,
      Source Members,
      Source GUI Scan,
      Source Code Scan,
      Project Summary,
      Metrics Summary,
      Migration Set,
      Interface File Headers,
      Interface File ProgIds,
      Code Bundles,
      .NET Build Logs,
      Translation Logs,
      All Logs,
      Semantic References,
      Semantic Definitions,
      Semantic Symbols,
      Semantic Audit,
      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.

  • No labels