Verifier Tool
The verifier tool validates J2EE archive files (EAR, WAR, JAR).
You can run verifier three ways:
- From within the
deploytool GUI
- As a command-line utility
- As a stand-alone GUI utility
To run verifier from within the deploytool GUI, choose Verifier from the Tools menu. The following sections explain how to run the verifier the other two ways.
Command-Line Verifier
The command-line verifier tool has the following syntax:
verifier [options] <filename>
The filename argument is the name of a J2EE component file.
Table B-6 verifier Options
Syntax
|
Description
|
-v
|
Displays a verbose version of output.
|
-o <output-file>
|
Writes the results to the specified <output-file>, overriding the default Results.txt file.
|
-u
|
Runs the stand-alone GUI version.
|
-<report-level>
|
Determines whether warnings or failures are reported. The <report-level> may be either a, w, or f:
a (all results)
w (warnings only)
f (failures only)
By default, only warnings and failures are reported.
|
Stand-Alone GUI Verifier
To run the stand-alone GUI verifier tool, follow these steps:
- From the command-line prompt, type:
verifier -u
- To select a file for verification, click Add.
- Select the radio button to indicate the report level:
- All Results
- Failures Only
- Failures and Warnings Only
- Click OK.
- The
verifier tool lists the details in the lower portion of the screen.