이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 3. Analyzing your projects with the MTR plugin
You can analyze your projects with the MTR 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 Runtimes 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/mtr-cli-1.2.7.GA-redhat-00001/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 (MTR) 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 MTR 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.