Skip to content

Commit 83810ff

Browse files
author
Mariya Pershina
committed
more small fixes
1 parent 297bf7d commit 83810ff

12 files changed

+44
-80
lines changed

assemblies/cli-guide/assembly_reviewing-analysis-reports.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif::[]
1515

1616
:context: reviewing-analysis-reports
1717

18-
After analyzing an application, you can access an analysis report to check the details of the entire application migration effort.
18+
After analyzing an application, you can access an analysis report to check the details of the application migration effort.
1919

2020
include::topics/mta-cli/proc_accessing-analysis-report.adoc[leveloffset=+1]
2121

docs/cli-guide/master.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ include::assemblies/cli-guide/assembly_generating-assets.adoc[leveloffset=+1]
3434
// include::topics/mta-exclude-files-and-packages.adoc[leveloffset=+2]
3535

3636
// CLI known issues
37-
include::topics/cli-tool-known-issues.adoc[leveloffset=+1]
37+
include::topics/mta-cli/cli-tool-known-issues.adoc[leveloffset=+1]
3838

3939
include::assemblies/cli-guide/assembly_reference-material.adoc[leveloffset=+1]
4040

docs/topics/cli-tool-known-issues.adoc

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/topics/mta-cli/proc_accessing-analysis-report.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ When you run an application analysis, a report is generated in the output direct
1212
* Copy the path of the `index.html` file from the analysis output and paste it in a browser of your choice:
1313
+
1414
[subs="+quotes"]
15-
----
15+
....
1616
Report created: _<output_report_directory>_/index.html
1717
Access it at this URL: file:///_<output_report_directory>_/index.html
18-
----
18+
....
1919
+
2020
Alternatively, press *Ctrl* and click on the path of the `index.html` file.

docs/topics/mta-cli/proc_analyze-selected-provider.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[id="analyze-selected-provider_{context}"]
66
= Analyzing an application for the selected supported language provider
77

8-
When analyzing an application by using the {ProductFullName} CLI, you can explicitly set a supported language provider according to your application’s language to run the analysis for.
8+
You can explicitly set a supported language provider according to your application’s language to run the analysis for.
99

1010

1111
.Prerequisites

docs/topics/mta-cli/proc_analyze-unsupported-provider.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[id="analyze-unsupported-provider_{context}"]
66
= Analyzing an application for an unsupported language provider
77

8-
When analyzing an application by using the {ProductFullName} CLI, you can run the analysis for an unsupported language provider. To do so, you must overwrite the existing supported language provider with your own unsupported language provider.
8+
You can run the analysis for an unsupported language provider. To do so, you must overwrite the existing supported language provider with your own unsupported language provider.
99

1010
IMPORTANT: You must create a configuration file for your unsupported language provider before overriding the supported provider.
1111

@@ -14,7 +14,7 @@ IMPORTANT: You must create a configuration file for your unsupported language pr
1414

1515
* You created a configuration file for your unsupported language provider, for example:
1616
+
17-
----
17+
....
1818
[
1919
{
2020
"name": "java",
@@ -29,7 +29,7 @@ IMPORTANT: You must create a configuration file for your unsupported language pr
2929
}]
3030
}
3131
]
32-
----
32+
....
3333

3434
.Procedure
3535

docs/topics/mta-cli/proc_analyzing-multiple-apps-with-mta-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ $ *mta-cli analyze --bulk --input _<path_to_input_C>_ --output _<path_to_output_
4444
[role="_additional-resources"]
4545
.Additional resources
4646

47-
* xref:installing-cli-zip_installing-mta-cli[Installing the CLI .zip file]
47+
* xref:installing-cli-zip_installing-mta-cli[Installing the CLI by using a .zip file]
4848
* xref:mta-cli-analyze-flags_analyzing-applications-mta-cli[The mta-cli analyze command options]

docs/topics/mta-cli/proc_analyzing-single-app-with-mta-cli.adoc

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NOTE: Extracting the list of dependencies from compiled Java binaries is not alw
1818
$ *mta-cli analyze --list-targets*
1919
....
2020

21-
. Run the `{mta-cli}` binary:
21+
. Run the analysis:
2222
+
2323
[subs="+quotes"]
2424
....
@@ -30,27 +30,36 @@ Specify the following arguments:
3030
* `--input`: An application to be evaluated.
3131
* `--output`: An output directory for the generated reports. `mta-cli analyze` creates the following analysis reports:
3232
+
33-
----
33+
....
3434
./
3535
├── analysis.log
3636
├── dependencies.yaml
3737
├── output.yaml
3838
├── shim.log
3939
├── static-report
4040
└── static-report.log
41-
----
41+
....
4242

4343
* `--source`: A source technology for the application migration, for example, `weblogic`.
4444
* `--target`: A target technology for the application migration, for example, `eap8`.
4545

46-
. Access the generated analysis reports:
46+
. Access the generated analysis report:
47+
48+
.. In the output of the `mta-cli analyze` command, copy a path to the `index.html` analysis report file:
49+
+
50+
[subs="+quotes"]
51+
....
52+
Report created: _<output_report_directory>_/index.html
53+
Access it at this URL: file:///_<output_report_directory>_/index.html
54+
....
4755

48-
.. In the output of the `mta-cli analyze` command, copy a path to the analysis report file.
4956
.. Paste the path to the browser of your choice.
5057

58+
+
59+
Alternatively, press *Ctrl* and click on the path to the report file.
5160

5261
[role="_additional-resources"]
5362
.Additional resources
5463

55-
* xref:installing-cli-zip_installing-mta-cli[Installing the CLI .zip file]
64+
* xref:installing-cli-zip_installing-mta-cli[Installing the CLI by using a .zip file]
5665
* xref:mta-cli-analyze-flags_analyzing-applications-mta-cli[The mta-cli analyze command options]

docs/topics/mta-cli/proc_installing-cli-for-docker.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ By default, Docker Desktop is installed to the `C:\Program Files\Docker\Docker`
4242
.. Ensure that Docker will run Windows containers as the backend instead of Linux containers:
4343

4444
... In the Windows task bar, right-click on the Docker icon.
45-
... Click Switch to Windows containers.
45+
... Click *Switch to Windows containers*.
4646

4747
. In PowerShell, create a folder for {ProductShortName}:
4848
+

docs/topics/mta-cli/proc_installing-mta-disconnected-environment.adoc

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
[id="installing-mta-disconnected-environment_{context}"]
77
= Installing the CLI on a disconnected environment
88

9-
When your system is in a disconnected environment, you can install the {ProductFullName} command-line interface (CLI) by using an external computer to download the required images and by copying these images to the system you want to install {ProductShortName} CLI on.
9+
When your system is in a disconnected environment, you can install the {ProductFullName} command-line interface (CLI) by performing the following actions:
10+
11+
. Download the required images by using an external computer.
12+
. Copying the downloaded images to the system you want to install {ProductShortName} CLI on.
1013

1114
IMPORTANT: The following procedure applies only to container mode.
1215

@@ -18,9 +21,9 @@ NOTE: The analysis output in the disconnected environment usually results in les
1821
* You installed the Podman tool on your system.
1922
* For the analysis of Java applications, you enabled container runtime usage by setting the `--run-local` flag to `false`:
2023
+
21-
----
24+
....
2225
--run-local=false
23-
----
26+
....
2427
+
2528
The analysis of non-Java applications runs in container mode by default.
2629
@@ -32,44 +35,43 @@ The analysis of non-Java applications runs in container mode by default.
3235
.. Authenticate to registry.redhat.io:
3336
+
3437
[subs="+quotes"]
35-
----
38+
....
3639
$ *podman login registry.redhat.io*
37-
----
40+
....
3841

3942
.. Run the `mta-cli` binary file. The binary file pulls the required provider images. For example:
4043
+
4144
[subs="+quotes"]
42-
----
45+
....
4346
$ *mta-cli analyze*
44-
----
47+
....
4548
+
4649
IMPORTANT: This command only pulls the required images. For example, if you run a command that requires Java images, a .NET image will not be pulled.
4750

4851
.. Display the image list:
4952
+
5053
[subs="+quotes"]
51-
----
52-
54+
....
5355
$ *podman images*
5456
REPOSITORY TAG IMAGE ID CREATED SIZE
5557
registry.redhat.io/mta/mta-generic-external-provider-rhel9 7.3.1 8b8d7fa14570 13 days ago 692 MB
5658
registry.redhat.io/mta/mta-cli-rhel9 7.3.1 45422a12d936 13 days ago 1.6 GB
5759
registry.redhat.io/mta/mta-java-external-provider-rhel9 7.3.1 4d6d0912a38b 13 days ago 715 MB
5860
registry.redhat.io/mta/mta-dotnet-external-provider-rhel9 7.3.1 66ec9fc51408 13 days ago 1.27 GB
59-
----
61+
....
6062

6163
.. Save the images:
6264
+
6365
[subs="+quotes"]
64-
----
66+
....
6567
$ *podman save _<image_ID>_ -o _<image_name>_.image*
66-
----
68+
....
6769

6870
.. Copy the images onto a USB drive or directly to the file system of the disconnected device.
6971

7072
. On the disconnected device, enter:
7173
+
7274
[subs="+quotes"]
73-
----
75+
....
7476
$ *podman load --input _<image_name>_.image*
75-
----
77+
....

0 commit comments

Comments
 (0)