38 Signature Test Tool 2.0 User’s Guide April 2008
b. Run command #2:
The command generates the ./x2.sig file shown in CODEEXAMPLE A-7 and
produces a console message similar to this indicating successful setup with some
possible differences according to your system characteristics:
c. Run command #3:
The command generates the ./x3.sig file shown in CODEEXAMPLE A-8 and
produces a console message similar to this indicating successful setup with some
possible differences according to your system characteristics:
Now you can merge the signature filesyou just created.
5. Runthis command to merge x1.sig and x2.sig and produce the x1+x2.sig
fileshown in CODE EXAMPLE A-9:
The command generates a console message similar to this:
% java -cp 2:$CLASSPATH com.sun.tdk.signaturetest.Setup \
-static -classpath 2:$RT_JAR -package x -FileName x2.sig
Class path: "2:/opt/jdk1.5.0_09/jre/lib/rt.jar"
Constant checking: on
Found in total: 13185 classes
Selected by -Package: 1 classes
Written to sigfile: 2 classes
STATUS:Passed.
% java -cp 3:$CLASSPATH com.sun.tdk.signaturetest.Setup \
-static -classpath 3:$RT_JAR -package x -FileName x3.sig
Class path: "3:/opt/jdk1.5.0_09/jre/lib/rt.jar"
Constant checking: on
Found in total: 13185 classes
Selected by -Package: 1 classes
Written to sigfile: 2 classes
STATUS:Passed.
% java -cp $CLASSPATH com.sun.tdk.signaturetest.Merge -Files
x1.sig:x2.sig -Write x1+x2.sig
Warning: class java.lang.Throwable not found
STATUS:Passed.