Chapter 3. Analyzing your projects with the MTA plugin
You can analyze your projects with the MTA plugin by creating a run configuration and running an analysis.
3.1. Creating a run configuration
You can create multiple run configurations to run against each project you import to IntelliJ IDEA.
Procedure
- In the Projects view, click the project you want to analyze.
On the left side of the screen, click the Migration Toolkit for Applications tab.
If this is your first configuration, the run configuration panel is displayed on the right.
If this is not your first configuration, right-click configuration in the list and select New configuration.
The run configuration panel is displayed on the right.
Complete the following configuration fields:
-
cli: Enter the path to the cli executable. For example:
$HOME/mta-cli-7.1.1.GA-redhat/bin/mta-cli
. - Input: Click Add and enter the input file or directory.
Target: Select one or more target migration paths.
NoteThe location shown in the Output is set by the plugin.
-
cli: Enter the path to the cli executable. For example:
In the list of configurations, right-click the new configuration and select Run Analysis.
The Console (MTA) terminal emulator opens, displaying information about the progress of the analysis.
When the analysis is completed, you can click either Report or Results below the name of the configuration file you ran.
- Reports opens the MTA report, which describes any issues you need to address before you migrate or modernize your application. For more information, see Reviewing the reports in the CLI Guide.
- Results opens a directory displaying hints (issues) per application.