Running the {CLINameTitle}
You can run {ProductShortName} against your application.
-
Open a terminal and navigate to the
<{ProductShortName}_HOME>/
directory. -
Execute the
{mta-cli}
script, or{mta-cli}.exe
for Windows, and specify the appropriate arguments:$ ./{mta-cli} analyze --input /path/to/jee-example-app-1.0.0.ear \ --output /path/to/output --source weblogic --target eap6 \
-
--input
: The application to be evaluated. -
--output
: The output directory for the generated reports. -
--source
: The source technology for the application migration.
-
-
Access the report.
{ProductShortName} command examples
Running {ProductShortName} on an application archive
The following command analyzes the jee-example-app-1.0.0.ear example EAR archive for migrating from JBoss EAP 5 to JBoss EAP 7:
$ <{ProductShortName}_HOME>/{mta-cli} analyze \
--input /path/to/jee-example-app-1.0.0.ear \
--output /path/to/report-output/ --source eap5 --target eap7 \
Running {ProductShortName} on source code
The following command analyzes the seam-booking-5.2 example source code for migrating to JBoss EAP 6.
$ <{ProductShortName}_HOME>/{mta-cli} analyze --mode source-only --input /path/to/seam-booking-5.2/ \
--output /path/to/report-output/ --target eap6 --packages org.jboss.seam
Running cloud-readiness rules
The following command analyzes the jee-example-app-1.0.0.ear example EAR archive for migrating to JBoss EAP 7. It also evaluates for cloud readiness:
$ <{ProductShortName}_HOME>/{mta-cli} analyze --input /path/to/jee-example-app-1.0.0.ear \
--output /path/to/report-output/ \
--target eap7