Sun Microsystems 2 Tablet Accessory User Manual


 
20 Signature Test Tool 2.0 User’s Guide April 2008
SignatureTest Command
The SignatureTest command has the following synopsis:
java com.sun.tdk.signaturetest.SignatureTest [arguments]
It follows the rules described in “Case Sensitivity of Command Arguments” on
page 16.
TABLE 2-5 lists the available arguments.
Note SignatureTest command settings for the CLASSPATH environment
variable and the -classpath argument are the same as those listed for the Setup
command in TABLE 2-1.
Command Description
The SignatureTest command compares the reference API represented in a
signature file to the API under test and produces a report. Depending on the
command-line arguments specified, it uses either the reflection or static mode. If the
-classpath argument is specified, the SignatureTest command checks if any
extra classes are contained in the APIs it specifies.
See “Signature File Formats” on page 16 for details on supported versions of
signature file formats.
TABLE 2-5 SignatureTest Command Arguments
Option Description
-help
Optional. Displays usage information for
available command arguments and exits.
-debug
Optional. Enables printing of the stack trace for
debugging purposes if
SignatureTest fails.
-static
Optional. Specifies to run in static mode without
using reflection and reports on only the class files
specified in the
-classpath option.
-mode [bin | src]
Optional. Specifies the compatibility mode to use
during the signature test, either binary or source,
respectively. Defaults to
src. “Source and Binary
Compatibility Modes” on page 4 describes each
mode.