Task updater

Description

Version 3.0 of MAT introduced numerous modifications of the task.xml task file format. MAT 3.0 will not work with tasks created for previous versions of MAT. You can use this tool to create a 3.0-compliant copy of your pre-3.0 task.xml file.

Note: in 3.0, workflows are not undoable by default. None of the workflows in the resulting task.xml file will be undoable. For more details, see here.

Usage

Unix:

% $MAT_PKG_HOME/bin/MATUpdateTaskXML

Windows native:

> %MAT_PKG_HOME%\bin\MATUpdateTaskXML.cmd

Usage: MATUpdateTaskXML [options] mat_2_0_root task_xml [outdir]

mat_2_root: a 2.x final MAT root directory, typically src/MAT in the 2.x distribution
task_xml: the task.xml file to update. The original file will be written to task.xml.ver2, and the new
file, no matter what this name is, is task.xml. This way, you can repeatedly update the
2.x task.xml file if you need to
outdir: the directory to save the task.xml files to. Optional. By default, this will be the same
directory you started with.

Options

--print_to_stdout
if present, print to stdout instead of task.xml, and don't copy the original
--cheat_on_2_0_requirement
don't require that the mat_2_0_root actually be 2.0, but permit early versions of 3.0