aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1189814 - in /aries/trunk/sandbox/jmx-next/tck: ./ apply_to_tck.sh org.osgi.test.cases.jmx.bnd.bnd
Date Thu, 27 Oct 2011 15:52:23 GMT
Author: davidb
Date: Thu Oct 27 15:52:23 2011
New Revision: 1189814

URL: http://svn.apache.org/viewvc?rev=1189814&view=rev
Log:
Script to change the OSGi CT configuration so that it runs with the Aries JMX implementation.

Added:
    aries/trunk/sandbox/jmx-next/tck/
    aries/trunk/sandbox/jmx-next/tck/apply_to_tck.sh   (with props)
    aries/trunk/sandbox/jmx-next/tck/org.osgi.test.cases.jmx.bnd.bnd

Added: aries/trunk/sandbox/jmx-next/tck/apply_to_tck.sh
URL: http://svn.apache.org/viewvc/aries/trunk/sandbox/jmx-next/tck/apply_to_tck.sh?rev=1189814&view=auto
==============================================================================
--- aries/trunk/sandbox/jmx-next/tck/apply_to_tck.sh (added)
+++ aries/trunk/sandbox/jmx-next/tck/apply_to_tck.sh Thu Oct 27 15:52:23 2011
@@ -0,0 +1,25 @@
+# Change these
+# Fill in the variable below, e.g. ARIES_DIR=/Users/david/checkouts/aries
+ARIES_DIR=...the root of your apache aries checkout...
+# 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...
+# TODO fix the target version number
+ARIES_TARGET_VERSION=0.999
+
+JMX_TARGET_DIR=$OSGI_GIT_DIR/licensed/repo
+LIB_BASE=$OSGI_GIT_DIR/cnf/repo/org.apache.aries.impl.jmx
+LIB_FILE=$LIB_BASE/org.apache.aries.impl.jmx-4.2.0.lib
+
+mkdir -p -v $JMX_TARGET_DIR/org.apache.aries.jmx
+cp $ARIES_DIR/jmx/jmx-bundle/target/org.apache.aries.jmx-0.3.1-SNAPSHOT.jar $JMX_TARGET_DIR/org.apache.aries.jmx/org.apache.aries.jmx-$ARIES_TARGET_VERSION.jar
+
+mkdir -p -v $JMX_TARGET_DIR/org.apache.aries.util
+cp $ARIES_DIR/util/target/org.apache.aries.util-0.4-SNAPSHOT.jar $JMX_TARGET_DIR/org.apache.aries.util/org.apache.aries.util-$ARIES_TARGET_VERSION.jar
+
+mkdir -p -v $LIB_BASE
+echo "slf4j.api; version=1.5.10" > $LIB_FILE
+echo "slf4j.simple; version=1.5.10" >> $LIB_FILE
+echo "org.apache.aries.util; version=$ARIES_TARGET_VERSION" >> $LIB_FILE
+echo "org.apache.aries.jmx; version=$ARIES_TARGET_VERSION" >> $LIB_FILE
+
+cp $ARIES_DIR/jmx/tck/org.osgi.test.cases.jmx.bnd.bnd $OSGI_GIT_DIR/org.osgi.test.cases.jmx/bnd.bnd

Propchange: aries/trunk/sandbox/jmx-next/tck/apply_to_tck.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: aries/trunk/sandbox/jmx-next/tck/org.osgi.test.cases.jmx.bnd.bnd
URL: http://svn.apache.org/viewvc/aries/trunk/sandbox/jmx-next/tck/org.osgi.test.cases.jmx.bnd.bnd?rev=1189814&view=auto
==============================================================================
--- aries/trunk/sandbox/jmx-next/tck/org.osgi.test.cases.jmx.bnd.bnd (added)
+++ aries/trunk/sandbox/jmx-next/tck/org.osgi.test.cases.jmx.bnd.bnd Thu Oct 27 15:52:23 2011
@@ -0,0 +1,43 @@
+# Set javac settings from JDT prefs
+-include: ${project.workspace}/cnf/eclipse/jdt.bnd
+
+Import-Package: org.osgi.jmx, *
+Conditional-Package                 = org.osgi.test.support.*
+Private-Package                     =  \
+    ${p}.junit.*
+    
+Include-Resource                    = \
+    tb1.jar ,\
+    tb2.jar
+
+-buildpath                          = ee.j2se; version=1.5, \
+    org.osgi.test.support;          version=project, \
+    org.osgi.jmx;                   version=project , \
+    osgi.core;                      version=4.3     , \
+    osgi.enterprise;                version=4.2     , \
+    ${junit}    
+
+-runbundles                     = \
+    osgi.enterprise; version=latest     , \
+    org.apache.aries.impl.jmx; version=latest, \
+    org.osgi.impl.service.useradmin; version=latest, \
+    org.osgi.impl.service.log; version=latest, \
+    org.osgi.impl.service.cm; version=latest, \
+    org.osgi.impl.service.provisioning; version=latest, \
+    org.osgi.impl.bundle.servlet;       version=2.1
+
+-runproperties                  = ${runsecureproperties}
+
+Test-Cases                          = ${testcases}
+-signaturetest                      = \
+            org.osgi.jmx, \
+            org.osgi.jmx.framework, \
+            org.osgi.jmx.service.cm, \
+            org.osgi.jmx.service.permissionadmin, \
+            org.osgi.jmx.service.provisioning, \
+            org.osgi.jmx.service.useradmin
+            
+-runproperties = ${runproperties}, \
+    ${p}.system.packages.extra="${junit.package}", \
+    ${p}.bundles="${uniq;${enterprise.companion.jar},${repo;org.apache.aries.impl.jmx}}"
+#   osgi.console=1111, \



Mime
View raw message