geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1796173 - /geronimo/specs/trunk/geronimo-jcdi_2.0_spec/run_sigtest.sh
Date Thu, 25 May 2017 16:37:11 GMT
Author: struberg
Date: Thu May 25 16:37:11 2017
New Revision: 1796173

URL: http://svn.apache.org/viewvc?rev=1796173&view=rev
Log:
GERONIMO-6553 improve script to run signature test

Modified:
    geronimo/specs/trunk/geronimo-jcdi_2.0_spec/run_sigtest.sh

Modified: geronimo/specs/trunk/geronimo-jcdi_2.0_spec/run_sigtest.sh
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_2.0_spec/run_sigtest.sh?rev=1796173&r1=1796172&r2=1796173&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_2.0_spec/run_sigtest.sh (original)
+++ geronimo/specs/trunk/geronimo-jcdi_2.0_spec/run_sigtest.sh Thu May 25 16:37:11 2017
@@ -30,12 +30,13 @@
 mvn clean package dependency:copy-dependencies
 
 packages="-Package javax.decorator -Package javax.enterprise.context -Package javax.enterprise.util
-Package javax.enterprise.inject -Package javax.enterprise.event"
+cp="${JAVA_HOME}/jre/lib/rt.jar:target/dependency/geronimo-interceptor_1.1_spec-1.0.jar:target/dependency/geronimo-el_2.2_spec-1.0.jar:target/dependency/geronimo-atinject_1.0_spec-1.0.jar"
 
 # generate the SIG for the RI
-java -jar ${SIGTEST_HOME}/lib/sigtestdev.jar Setup -classpath ${JAVA_HOME}/jre/lib/rt.jar:target/dependency/geronimo-interceptor_1.1_spec-1.0.jar:target/dependency/geronimo-el_2.2_spec-1.0.jar:target/dependency/geronimo-atinject_1.0_spec-1.0.jar:cdi-api-2.0.jar
${packages}  -FileName target/cdi-api.sig -static
+java -jar ${SIGTEST_HOME}/lib/sigtestdev.jar Setup -classpath ${cp}:cdi-api-2.0.jar ${packages}
-FileName target/cdi-api.sig -static
 
 # this generates the signature for our own api
-java -jar ${SIGTEST_HOME}/lib/sigtestdev.jar Setup -classpath ${JAVA_HOME}/jre/lib/rt.jar:target/dependency/geronimo-interceptor_1.1_spec-1.0.jar:target/dependency/geronimo-el_2.2_spec-1.0.jar:target/dependency/geronimo-atinject_1.0_spec-1.0.jar:target/geronimo-jcdi_2.0_spec-1.0-alpha-1-SNAPSHOT.jar
${packages}  -FileName target/geronimo-jcdi-api.sig -static
+java -jar ${SIGTEST_HOME}/lib/sigtestdev.jar Setup -classpath ${cp}:target/geronimo-jcdi_2.0_spec-1.0-alpha-1-SNAPSHOT.jar
${packages} -FileName target/geronimo-jcdi-api.sig -static
 
 # then open the 2 generated sig files in a diff browser and the only difference should be
some internal variables.
 



Mime
View raw message