The plugin directory manager installs or removes directories
containing well-formed MAT plugins, or lists the registered plugins. A
well-formed MAT plugin contains either a task.xml file or a demo.xml
file, as described in the documentation on creating
a
new task or
creating a new demo.
Unix:
% $MAT_PKG_HOME/bin/MATManagePluginDirs
Windows native:
> %MAT_PKG_HOME%\bin\MATManagePluginDirs.cmd
Usage: MATManagePluginDirs [ install | remove ] app_dir ...
MATManagePluginDirs list
Let's say you have no plugins registered. The following sequence of
commands exemplifies the use of this tool.
Unix:
% cd $MAT_PKG_HOME
% bin/MATManagePluginDirs list
% bin/MATManagePluginDirs install $PWD/sample/ne
### Writing plugins.txt...
### Compiling Python files ...
% bin/MATManagePluginDirs list
.../MAT/sample/ne (task)
% bin/MATManagePluginDirs remove $PWD/sample/ne
### Reading plugins.txt...
### Writing plugins.txt...
% bin/MATManagePluginDirs list
%
Windows native:
> cd %MAT_PKG_HOME%
> python bin\MATManagePluginDirs.cmd list
> python bin\MATManagePluginDirs.cmd install %CD%\sample\ne
### Writing plugins.txt...
### Compiling Python files ...
> python bin\MATManagePluginDirs.cmd list
...\MAT\sample\ne (task)
> python bin\MATManagePluginDirs.cmd remove %CD%\sample\ne
### Reading plugins.txt...
### Writing plugins.txt...
> python bin\MATManagePluginDirs.cmd list
>