2.3. 访问报告

当您运行 Migration Toolkit for Runtimes 时,会在您在命令行中使用 --output 参数指定的 <OUTPUT_REPORT_DIRECTORY> 中生成报告。

输出目录包含以下文件和子目录:

<OUTPUT_REPORT_DIRECTORY>/
├── index.html          // Landing page for the report
├── <EXPORT_FILE>.csv   // Optional export of data in CSV format
├── archives/           // Archives extracted from the application
├── mavenized/          // Optional Maven project structure
├── reports/            // Generated HTML reports
├── stats/              // Performance statistics

流程

  1. 从运行 MTR 后显示的输出中获取报告的 index.html 文件的路径:

    Report created: <OUTPUT_REPORT_DIRECTORY>/index.html
                  Access it at this URL: file:///<OUTPUT_REPORT_DIRECTORY>/index.html
  2. 使用浏览器打开 index.html 文件。

    此时会显示生成的报告。