aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1372821 - /aries/trunk/spi-fly/tck/apply-to-tck.sh
Date Tue, 14 Aug 2012 10:10:49 GMT
Author: davidb
Date: Tue Aug 14 10:10:49 2012
New Revision: 1372821

URL: http://svn.apache.org/viewvc?rev=1372821&view=rev
Log:
A minor change to the script that copies the SPI-Fly bundle to the OSGi CT location.

The SPI-Fly version in this commit passes the OSGi ServiceLoader Mediator CT.

Modified:
    aries/trunk/spi-fly/tck/apply-to-tck.sh

Modified: aries/trunk/spi-fly/tck/apply-to-tck.sh
URL: http://svn.apache.org/viewvc/aries/trunk/spi-fly/tck/apply-to-tck.sh?rev=1372821&r1=1372820&r2=1372821&view=diff
==============================================================================
--- aries/trunk/spi-fly/tck/apply-to-tck.sh (original)
+++ aries/trunk/spi-fly/tck/apply-to-tck.sh Tue Aug 14 10:10:49 2012
@@ -1,11 +1,15 @@
+# This script modifies the SPI-Fly bundle metadata slightly so that it can be copied into
the OSGi CT. 
+# It also copies the jar in place.
+
 # Fill in the variable below, e.g. OSGI_GIT_DIR=/Users/david/clones/osgi-build
 OSGI_GIT_DIR=...the root of your OSGi build clone...
+VERSION=1.0.0
 
 # Updated the BSN of the implemetation bundle to org.apache.aries.spifly.dynamic as on some
Mac OSX having the bundle suffix
 # causes confusion
 rm META-INF/MANIFEST.MF
-cp ../spi-fly-dynamic-bundle/target/org.apache.aries.spifly.dynamic.bundle-0.4-SNAPSHOT.jar
org.apache.aries.spifly.dynamic-0.4.0.jar
-jar xvf org.apache.aries.spifly.dynamic-0.4.0.jar META-INF/MANIFEST.MF
+cp ../spi-fly-dynamic-bundle/target/org.apache.aries.spifly.dynamic.bundle-$VERSION-SNAPSHOT.jar
org.apache.aries.spifly.dynamic-$VERSION.jar
+jar xvf org.apache.aries.spifly.dynamic-$VERSION.jar META-INF/MANIFEST.MF
 cat META-INF/MANIFEST.MF | sed s/org.apache.aries.spifly.dynamic.bundle/org.apache.aries.spifly.dynamic/
> UPDATED_MANIFEST.MF
-jar uvfm org.apache.aries.spifly.dynamic-0.4.0.jar UPDATED_MANIFEST.MF
-cp org.apache.aries.spifly.dynamic-0.4.0.jar $OSGI_GIT_DIR/licensed/repo/org.apache.aries.spifly.dynamic
+jar uvfm org.apache.aries.spifly.dynamic-$VERSION.jar UPDATED_MANIFEST.MF
+cp org.apache.aries.spifly.dynamic-$VERSION.jar $OSGI_GIT_DIR/licensed/repo/org.apache.aries.spifly.dynamic



Mime
View raw message