Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 3. Analyzing your projects with the MTA plugin

download PDF

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

  1. In the Projects view, click the project you want to analyze.
  2. 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.

  3. 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.

  4. Complete the following configuration fields:

    • cli: Enter the path to the cli executable. For example: $HOME/mta-cli-7.0.3.GA-redhat/bin/mta-cli.
    • Input: Click Add and enter the input file or directory.
    • Target: Select one or more target migration paths.

      Note

      The location shown in the Output is set by the plugin.

  5. 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.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.