Example 1

Use the texport utility command to export a schema from the command line, outside the Type Designer GUI.

The following example shows how you can use the command:


install_dir> texport myschema.mtt 
    -O  C:\MyDev\ExportResults\myschema.mts 
    -LOG -APPEND

When you run the example, the following result occurs:

  • If the myschema.mtt schema file is exported successfully, the texport - completed successfully. message displays on the console.
  • The exported myschema.mts xml file is produced in the C:\MyDev\ExportResults directory. Because no type name is specified, the whole type schema from the root is exported.
  • If the myschema.log log file does not exist, it is produced in the same directory as the schema. If the myschema.log log file already exists, the log messages are appended to the existing file.