Author: shane.bryzak(a)jboss.com
Date: 2009-11-08 19:44:12 -0500 (Sun, 08 Nov 2009)
New Revision: 4818
Added:
cdi-tck/trunk/impl/src/main/resources/readme_sigtest.txt
Log:
add sigtest readme
Added: cdi-tck/trunk/impl/src/main/resources/readme_sigtest.txt
===================================================================
--- cdi-tck/trunk/impl/src/main/resources/readme_sigtest.txt (rev
0)
+++ cdi-tck/trunk/impl/src/main/resources/readme_sigtest.txt 2009-11-09 00:44:12 UTC (rev
4818)
@@ -0,0 +1,22 @@
+Generating the signature file
+-----------------------------
+
+The general command for generating a signature file looks like this:
+
+java -jar sigtestdev.jar Setup -classpath
"%JAVA_HOME%\jre\lib\rt.jar:cdi-api.jar:javax.inject.jar:el-api.jar:jboss-interceptor-api.jar"
-Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static
+
+Usually all the required libraries will be located in a local Maven repository, so
here's a working example with the classpaths filled out:
+
+java -jar "/home/shane/java/sigtest-2.1/lib/sigtestdev.jar" Setup -classpath
"/usr/local/java/jre/lib/rt.jar:/home/shane/.m2/repository/javax/enterprise/cdi-api/1.0.0-SNAPSHOT/cdi-api-1.0.0-SNAPSHOT.jar:/home/shane/.m2/repository/javax/inject/javax.inject/1.0-PFD-1/javax.inject-1.0-PFD-1.jar:/home/shane/.m2/repository/javax/el/el-api/2.1.2-b04/el-api-2.1.2-b04.jar:/home/shane/.m2/repository/org/jboss/interceptor/jboss-interceptor-api/3.1.0-CR1/jboss-interceptor-api-3.1.0-CR1.jar"
-Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static
+
+Running the signature test
+--------------------------
+
+To run the signature test simply change the execution command from Setup to
SignatureTest:
+
+java -jar sigtestdev.jar SignatureTest -classpath
"%JAVA_HOME%\jre\lib\rt.jar:cdi-api.jar:javax.inject.jar:el-api.jar:jboss-interceptor-api.jar"
-Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static
+
+Once again, here's a working example:
+
+java -jar "/home/shane/java/sigtest-2.1/lib/sigtestdev.jar" SignatureTest
-classpath
"/usr/local/java/jre/lib/rt.jar:/home/shane/.m2/repository/javax/enterprise/cdi-api/1.0.0-SNAPSHOT/cdi-api-1.0.0-SNAPSHOT.jar:/home/shane/.m2/repository/javax/inject/javax.inject/1.0-PFD-1/javax.inject-1.0-PFD-1.jar:/home/shane/.m2/repository/javax/el/el-api/2.1.2-b04/el-api-2.1.2-b04.jar:/home/shane/.m2/repository/org/jboss/interceptor/jboss-interceptor-api/3.1.0-CR1/jboss-interceptor-api-3.1.0-CR1.jar"
-Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static
+