Verifier
The verifier validates J2EE component files (EAR, WAR, JAR).
You can run the verifier three ways:
- From within the deploytool GUI
- As a command-line utility
- As a stand-alone GUI utility
To run the 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 has the following syntax:
verifier [options] <filename>
The filename argument is the name of a J2EE component file. The following table lists the options.
Table 46 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, 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 lists the details in the lower portion of the screen.