此内容没有您所选择的语言版本。

Chapter 1. Introduction


1.1. About the Rules Development Guide

This guide is for engineers, consultants, and others who want to create custom XML-based rules for Migration Toolkit for Applications (MTA) tools.

If you are new to MTA, it is recommended that you start with the Introduction to the Migration Toolkit for Applications for an overview of the Migration Toolkit for Applications features and system requirements. It is also recommended that you review the CLI Guide, which provides detailed instructions on how to install and execute the CLI.

If you would like to contribute to the MTA source code base or provide Java-based rule add-ons, see the Core Development Guide.

1.1.1. Use of in this guide

This guide uses the <MTA_HOME> replaceable variable to denote the path to your MTA installation. The installation directory is the mta-cli-5.0.Final directory where you extracted the MTA .zip file.

Note

For Windows operating systems, you must extract the MTA .zip file to a folder named mta to avoid a Path too long error.

When you encounter <MTA_HOME> in this guide, replace it with the actual path to your MTA installation.

1.2. About MTA rules

The Migration Toolkit for Applications (MTA) contains rule-based migration tools that analyze the APIs, technologies, and architectures used by the applications you plan to migrate. In fact, the MTA analysis process is implemented using MTA rules. MTA uses rules internally to extract files from archives, decompile files, scan and classify file types, analyze XML and other file content, analyze the application code, and build the reports.

MTA builds a data model based on the rule execution results and stores component data and relationships in a graph database, which can then be queried and updated as needed by the migration rules and for reporting purposes.

MTA rules use the following rule pattern:

when(condition)
  perform(action)
otherwise(action)
Copy to Clipboard Toggle word wrap

MTA provides a comprehensive set of standard migration rules out-of-the-box. Because applications may contain custom libraries or components, MTA allows you to write your own rules to identify use of components or software that may not be covered by the existing ruleset.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat