openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1667320 - /openwebbeans/trunk/webbeans-tck/run_sigtest.sh
Date Tue, 17 Mar 2015 14:57:37 GMT
Author: struberg
Date: Tue Mar 17 14:57:36 2015
New Revision: 1667320

URL: http://svn.apache.org/r1667320
Log:
add small shell script to run the signature tests

Added:
    openwebbeans/trunk/webbeans-tck/run_sigtest.sh

Added: openwebbeans/trunk/webbeans-tck/run_sigtest.sh
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-tck/run_sigtest.sh?rev=1667320&view=auto
==============================================================================
--- openwebbeans/trunk/webbeans-tck/run_sigtest.sh (added)
+++ openwebbeans/trunk/webbeans-tck/run_sigtest.sh Tue Mar 17 14:57:36 2015
@@ -0,0 +1,16 @@
+#!/bin/sh
+# file to run the CDI signature tests
+
+
+# HOWTO
+# download sigtestdev.jar from http://download.java.net/sigtest/2.1/Rel/
+# copy to a local folder and set SIGTEST_HOME to it
+
+
+mvn clean dependency:copy-dependencies
+
+java -jar ${SIGTEST_HOME}/sigtestdev.jar Setup -classpath ${JAVA_HOME}/jre/lib/rt.jar:./target/dependency/geronimo-jcdi_1.1_spec-1.0-alpha-1.jar:./target/dependency/geronimo-atinject_1.0_spec-1.0.jar:./target/dependency/geronimo-el_2.2_spec-1.0.2.jar:./target/dependency/geronimo-interceptor_1.2_spec-1.0-alpha-1.jar
-Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static
+
+# now run the real sig test
+java -jar ${SIGTEST_HOME}/sigtestdev.jar SignatureTest -classpath ${JAVA_HOME}/jre/lib/rt.jar:./target/dependency/geronimo-jcdi_1.1_spec-1.0-alpha-1.jar:./target/dependency/geronimo-atinject_1.0_spec-1.0.jar:./target/dependency/geronimo-el_2.2_spec-1.0.2.jar:./target/dependency/geronimo-interceptor_1.2_spec-1.0-alpha-1.jar
-Package javax.decorator -Package javax.enterprise -FileName cdi-api.sig -static
+



Mime
View raw message