이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 3. Analyzing your projects with the MTA extension


You can analyze your projects with the MTA extension by creating a run configuration and running an analysis.

3.1. MTA extension interface

The interface of the Migration Toolkit for Applications (MTA) extension is designed to make it easier for you to find information and perform actions:

  • In the left pane, you can see a directory tree named Analysis Results with a report icon at its top. You can click the icon to open the MTA report in your browser. Beneath the report icon are the other elements of the tree: the applications analyzed by MTA, the rulesets used, and the issues discovered by the analysis.
  • In the upper right pane, you can configure an analysis.
  • In the lower right pane, you can see the settings of the configuration, including source, target, and advanced options. You can view the progress of an analysis in this pane. When the analysis is completed, you can click the Open Report button to open 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.

Figure 3.1. MTA extension interface

MTA extension interface

3.2. Configuring a run configuration

You can configure multiple run configurations to run against each project you import to VS Code.

Prerequisites

  • windup-cli executable installed. You can download the windup-cli executable from mta download.

Procedure

  1. In Extensions view, click the Migration Toolkit for Applications icon ( MTA code extension ) on the Activity bar.
  2. Click the + (plus sign) next to Migration Toolkit for Applications to add a run configuration.
  3. Complete the following configuration fields:

    • Name: Enter a meaningful name for the analysis configuration or accept the default.
    • cli: Enter the path to the cli executable. For example: $HOME/mta-cli-6.0.1.GA-redhat/bin/windup-cli.
    • Input: Set to the path of the project that you have open within your IDE by clicking Add and doing one of the following:

      • Enter the input file or directory and press Enter.
      • Click Open File Explorer and select the directory.
    • Target: Select one or more target migration paths.
  4. Right-click the run configuration and select Run.

    When the analysis is completed, you can click the Open Report button to open 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.

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.