Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions docs/topics/cli-run.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ You can run {ProductShortName} against your application.
.Procedure

. Open a terminal and navigate to the `<{ProductShortName}_HOME>/bin/` directory.
. Execute the `windup-cli` script, or `windup-cli.bat` for Windows, and specify the appropriate arguments:
. Execute the `{mta-cli}` script, or `{mta-cli}.bat` for Windows, and specify the appropriate arguments:
Comment thread
emarcusRH marked this conversation as resolved.
+
[source,terminal,subs="attributes+"]
----
$ ./windup-cli --input /path/to/jee-example-app-1.0.0.ear \
$ ./{mta-cli} analyze --input /path/to/jee-example-app-1.0.0.ear \
--output /path/to/output --source weblogic --target eap:6 \
--packages com.acme org.apache
----
Expand All @@ -38,7 +38,7 @@ The following command analyzes the `com.acme` and `org.apache` packages of the l

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli \
$ <{ProductShortName}_HOME>/bin/{mta-cli} analyze \
--input /path/to/jee-example-app-1.0.0.ear \
--output /path/to/report-output/ --source eap:5 --target eap:7 \
--packages com.acme org.apache
Expand All @@ -52,7 +52,7 @@ The following command analyzes the `org.jboss.seam` packages of the link:https:/

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli --sourceMode --input /path/to/seam-booking-5.2/ \
$ <{ProductShortName}_HOME>/bin/{mta-cli} analyze --mode source-only --input /path/to/seam-booking-5.2/ \
--output /path/to/report-output/ --target eap:6 --packages org.jboss.seam
----
[]
Expand All @@ -63,7 +63,7 @@ The following command analyzes the `com.acme` and `org.apache` packages of the l

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli --input /path/to/jee-example-app-1.0.0.ear \
$ <{ProductShortName}_HOME>/bin/{mta-cli} analyze --input /path/to/jee-example-app-1.0.0.ear \
--output /path/to/report-output/ \
--target eap:7 --target cloud-readiness --packages com.acme org.apache
----
Expand All @@ -76,7 +76,7 @@ To override the default _Fernflower_ decompiler, pass the `-Dwindup.decompiler`

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli -Dwindup.decompiler=procyon \
$ <{ProductShortName}_HOME>/bin/{mta-cli} -Dwindup.decompiler=procyon \
Comment thread
emarcusRH marked this conversation as resolved.
--input <INPUT_ARCHIVE_OR_DIRECTORY> --output <OUTPUT_REPORT_DIRECTORY> \
--target <TARGET_TECHNOLOGY> --packages <PACKAGE_1> <PACKAGE_2>
----
Expand All @@ -88,7 +88,7 @@ The {ProductShortName} {CLIName} provides an option to enable Bash completion fo

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli [TAB]
$ <{ProductShortName}_HOME>/bin/{mta-cli} [TAB]
----

[discrete]
Expand All @@ -99,7 +99,7 @@ To enable Bash completion for the current shell, execute the following command:

[source,terminal,subs="attributes+"]
----
$ source <{ProductShortName}_HOME>/bash-completion/windup-cli
$ source <{ProductShortName}_HOME>/bash-completion/{mta-cli}
----

[discrete]
Expand All @@ -112,22 +112,22 @@ The following commands allow Bash completion to persist across restarts:
+
[source,terminal,subs="attributes+"]
----
source <{ProductShortName}_HOME>/bash-completion/windup-cli
source <{ProductShortName}_HOME>/bash-completion/{mta-cli}
----

* To enable Bash completion for all users across system restarts, copy the {ProductName} {CLIName} Bash completion file to the `/etc/bash_completion.d/` directory as the root user.
+
[source,terminal,subs="attributes+"]
----
# cp <{ProductShortName}_HOME>/bash-completion/windup-cli /etc/bash_completion.d/
# cp <{ProductShortName}_HOME>/bash-completion/{mta-cli} /etc/bash_completion.d/
----

[id="accessing-help_{context}"]
== Accessing {ProductShortName} help

To see the complete list of available arguments for the `windup-cli` command, open a terminal, navigate to the `<{ProductShortName}_HOME>` directory, and execute the following command:
To see the complete list of available arguments for the `{mta-cli}` command, open a terminal, navigate to the `<{ProductShortName}_HOME>` directory, and execute the following command:

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli --help
$ <{ProductShortName}_HOME>/bin/{mta-cli} --help
----
252 changes: 0 additions & 252 deletions docs/topics/create-first-xml-rule.adoc

This file was deleted.

2 changes: 1 addition & 1 deletion docs/topics/intellij-idea-plugin-run-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ 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/{LC_PSN}-cli-{ProductDistributionVersion}/bin/windup-cli`.
** *cli*: Enter the path to the cli executable. For example: `$HOME/{LC_PSN}-cli-{ProductDistributionVersion}/bin/{mta-cli}`.
** *Input*: Click *Add* and enter the input file or directory.
** *Target*: Select one or more target migration paths.
+
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/manually-test-rules.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can run an XML rule against your application file to test it:

[source,terminal,subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli [--sourceMode] --input <INPUT_ARCHIVE_OR_FOLDER> --output <OUTPUT_REPORT_DIRECTORY> --target <TARGET_TECHNOLOGY> --packages <PACKAGE_1> <PACKAGE_2> <PACKAGE_N>
$ <{ProductShortName}_HOME>/bin/{mta-cli} [--sourceMode] --input <INPUT_ARCHIVE_OR_FOLDER> --output <OUTPUT_REPORT_DIRECTORY> --target <TARGET_TECHNOLOGY> --packages <PACKAGE_1> <PACKAGE_2> <PACKAGE_N>
----

You should see the following result:
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/mavenize.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following example runs {ProductShortName} using the link:https://github.com/

[source,options="nowrap",subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli --input /path/to/jee-example-app-1.0.0.ear --output /path/to/output --target eap:6 --packages com.acme org.apache --mavenize
$ <{ProductShortName}_HOME>/bin/{mta-cli} --input /path/to/jee-example-app-1.0.0.ear --output /path/to/output --target eap:6 --packages com.acme org.apache --mavenize
----

This generates the Maven project structure in the `/path/to/output/mavenized` directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/review-reports.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The report was generated using the following command.

[options="nowrap",subs="attributes+"]
----
$ <{ProductShortName}_HOME>/bin/windup-cli --input /home/username/windup-cli-source/test-files/jee-example-app-1.0.0.ear/ --output /home/username/windup-cli-reports/jee-example-app-1.0.0.ear-report --target eap:6 --packages com.acme org.apache
$ <{ProductShortName}_HOME>/bin/{mta-cli} --input /home/username/{mta-cli}-source/test-files/jee-example-app-1.0.0.ear/ --output /home/username/{mta-cli}-reports/jee-example-app-1.0.0.ear-report --target eap:6 --packages com.acme org.apache
----
endif::cli-guide[]

Expand Down
2 changes: 2 additions & 0 deletions docs/topics/templates/document-attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ifdef::mta[]
:ProductShortName: MTA
:ProductFullName: Migration Toolkit for Applications (MTA)
:LC_PSN: mta
:mta-cli: mta-cli
:DocInfoProductNameURL: migration_toolkit_for_applications
:WebName: user interface
:WebNameTitle: User Interface
Expand All @@ -40,6 +41,7 @@ ifdef::mtr[]
:ProductShortName: MTR
:ProductFullName: Migration Toolkit for Runtimes (MTR)
:LC_PSN: mtr
:mta-cli: windup-cli
:DocInfoProductNameURL: migration_toolkit_for_runtimes
:WebName: web console
:WebNameTitle: Web Console
Expand Down
Loading