[jboss-cvs] JBossAS SVN: r85288 - in projects/jboss-osgi/trunk: build/distribution and 12 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 5 05:31:18 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-03-05 05:31:17 -0500 (Thu, 05 Mar 2009)
New Revision: 85288

Added:
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41DeployerTestCase.java
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceA.java
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceActivator.java
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleA.bnd
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleB.bnd
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleX.bnd
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi41/
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi41/jbosgi41-bundleA.bnd
Removed:
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleA.bnd
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleB.bnd
   projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleX.bnd
Modified:
   projects/jboss-osgi/trunk/build/distribution/pom.xml
   projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml
   projects/jboss-osgi/trunk/pom.xml
   projects/jboss-osgi/trunk/runtime/deployer/src/main/resources/osgi-deployers-jboss-beans.xml
   projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundle.java
   projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundleMBean.java
   projects/jboss-osgi/trunk/testsuite/scripts/antrun-test-jars.xml
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi38/OSGI38DeployerTestCase.java
   projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi39/OSGI39DeployerTestCase.java
Log:
[JBOSGI-41] Verify persistent file storage

Modified: projects/jboss-osgi/trunk/build/distribution/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/build/distribution/pom.xml	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/build/distribution/pom.xml	2009-03-05 10:31:17 UTC (rev 85288)
@@ -73,6 +73,10 @@
       <artifactId>javax.servlet</artifactId>
     </dependency>
     <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.configadmin</artifactId>
+    </dependency>
+    <dependency>
       <groupId>org.codehaus.izpack</groupId>
       <artifactId>izpack-standalone-compiler</artifactId>
       <version>${izpack.version}</version>

Modified: projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml
===================================================================
--- projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/build/distribution/src/main/resources/installer/install-definition.xml	2009-03-05 10:31:17 UTC (rev 85288)
@@ -86,7 +86,8 @@
       
       <!-- deploy/osgi -->
       <fileset dir="@{deploy.artifacts.dir}/lib" targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/osgi" override="true">
-        <include name="jboss-osgi-service-http.jar" />
+        <!-- include name="jboss-osgi-service-http.jar" /-->
+        <include name="org.apache.felix.configadmin.jar" />
         <include name="jboss-osgi-service-webconsole.jar" />
       </fileset>
       

Modified: projects/jboss-osgi/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/pom.xml	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/pom.xml	2009-03-05 10:31:17 UTC (rev 85288)
@@ -34,6 +34,7 @@
 
   <properties>
     <version.aqute.bnd>0.0.249</version.aqute.bnd>
+    <version.felix.configadmin>1.0.10</version.felix.configadmin>
     <version.felix.framework>1.4.1</version.felix.framework>
     <version.felix.javax.servlet>1.0.0</version.felix.javax.servlet>
     <version.felix.osgi.core>1.2.0</version.felix.osgi.core>
@@ -185,6 +186,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.felix</groupId>
+        <artifactId>org.apache.felix.configadmin</artifactId>
+        <version>${version.felix.configadmin}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.felix</groupId>
         <artifactId>org.apache.felix.framework</artifactId>
         <version>${version.felix.framework}</version>
       </dependency>

Modified: projects/jboss-osgi/trunk/runtime/deployer/src/main/resources/osgi-deployers-jboss-beans.xml
===================================================================
--- projects/jboss-osgi/trunk/runtime/deployer/src/main/resources/osgi-deployers-jboss-beans.xml	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/runtime/deployer/src/main/resources/osgi-deployers-jboss-beans.xml	2009-03-05 10:31:17 UTC (rev 85288)
@@ -6,7 +6,7 @@
   <bean name="jboss.osgi:service=Framework" class="org.jboss.osgi.felix.framework.FelixIntegration">
     <property name="felixProperties">
       <map keyClass="java.lang.String" valueClass="java.lang.String">
-        <entry><key>felix.cache.rootdir</key><value>${jboss.server.data.dir}</value></entry>
+        <entry><key>org.osgi.framework.storage</key><value>${jboss.server.data.dir}/osgi-store</value></entry>
         <entry><key>org.osgi.framework.storage.clean</key><value>onFirstInit</value></entry>
         <entry>
           <key>org.osgi.framework.system.packages</key>

Modified: projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundle.java
===================================================================
--- projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundle.java	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundle.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -56,11 +56,21 @@
       return oname;
    }
 
+   public String getProperty(String key)
+   {
+      return bundle.getBundleContext().getProperty(key);
+   }
+
    public int getState()
    {
       return bundle.getState();
    }
 
+   public long getBundleId()
+   {
+      return bundle.getBundleId();
+   }
+
    public String getSymbolicName()
    {
       return bundle.getSymbolicName();

Modified: projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundleMBean.java
===================================================================
--- projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundleMBean.java	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/runtime/spi/src/main/java/org/jboss/osgi/spi/management/ManagedBundleMBean.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -21,14 +21,20 @@
  */
 package org.jboss.osgi.spi.management;
 
+import javax.management.ObjectName;
+
 import org.osgi.framework.BundleException;
 
 //$Id$
 
 
 /**
- * The managed view of an OSGi Bundle
+ * The managed view of an OSGi Bundle.
  * 
+ * Bundles are registered under the name
+ * 
+ * jboss.osgi:bundle=[SymbolicName],id=[BundleId]
+ * 
  * @author thomas.diesler at jboss.com
  * @since 04-Mar-2009
  */
@@ -41,13 +47,28 @@
     * @return An element of UNINSTALLED,INSTALLED, RESOLVED,STARTING, STOPPING,ACTIVE.
     */
    int getState();
+
+   /**
+    * Get the bundles object name.
+    */
+   ObjectName getObjectName();
    
    /**
+    * Returns this bundle's unique identifier.
+    */
+   long getBundleId();
+   
+   /**
     * Returns the symbolic name of this bundle as specified by its Bundle-SymbolicName manifest header
     */
    String getSymbolicName();
    
    /**
+    * Returns the value of the specified property from the BundleContext.
+    */
+   String getProperty(String key);
+   
+   /**
     * Starts this bundle with no options
     */
    void start() throws BundleException;

Modified: projects/jboss-osgi/trunk/testsuite/scripts/antrun-test-jars.xml
===================================================================
--- projects/jboss-osgi/trunk/testsuite/scripts/antrun-test-jars.xml	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/testsuite/scripts/antrun-test-jars.xml	2009-03-05 10:31:17 UTC (rev 85288)
@@ -55,10 +55,13 @@
     </jar>
 
     <!-- jbosgi38 -->
-    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi38-bundleA.jar" files="${tests.resources.dir}/jbosgi38/bundleA.bnd" />
-    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi38-bundleB.jar" files="${tests.resources.dir}/jbosgi38/bundleB.bnd" />
-    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi38-bundleX.jar" files="${tests.resources.dir}/jbosgi38/bundleX.bnd" />
+    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi38-bundleA.jar" files="${tests.resources.dir}/jbosgi38/jbosgi38-bundleA.bnd" />
+    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi38-bundleB.jar" files="${tests.resources.dir}/jbosgi38/jbosgi38-bundleB.bnd" />
+    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi38-bundleX.jar" files="${tests.resources.dir}/jbosgi38/jbosgi38-bundleX.bnd" />
   	
+    <!-- jbosgi41 -->
+    <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/jbosgi41-bundleA.jar" files="${tests.resources.dir}/jbosgi41/jbosgi41-bundleA.bnd" />
+  	
     <!-- http-service -->
     <bnd classpath="${tests.classes.dir}" output="${tests.output.dir}/test-libs/http-service.jar" files="${tests.resources.dir}/service/http/http-service.bnd" />
 

Modified: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi38/OSGI38DeployerTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi38/OSGI38DeployerTestCase.java	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi38/OSGI38DeployerTestCase.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -60,7 +60,7 @@
       
       assertEquals("Bundle active", Bundle.ACTIVE, bundleX.getState());
       
-      undeploy("jbosgi38-bundleX.jar");
+      undeployBundle("jbosgi38-bundleX");
    }
 
    /*
@@ -74,8 +74,8 @@
       assertEquals("Bundle active", Bundle.ACTIVE, bundleX.getState());
       assertEquals("Bundle active", Bundle.ACTIVE, bundleB.getState());
       
-      undeploy("jbosgi38-bundleB.jar");
-      undeploy("jbosgi38-bundleX.jar");
+      undeployBundle("jbosgi38-bundleB");
+      undeployBundle("jbosgi38-bundleX");
    }
 
    /*
@@ -91,9 +91,9 @@
       assertEquals("Bundle active", Bundle.ACTIVE, bundleB.getState());
       assertEquals("Bundle active", Bundle.ACTIVE, bundleA.getState());
       
-      undeploy("jbosgi38-bundleA.jar");
-      undeploy("jbosgi38-bundleB.jar");
-      undeploy("jbosgi38-bundleX.jar");
+      undeployBundle("jbosgi38-bundleA");
+      undeployBundle("jbosgi38-bundleB");
+      undeployBundle("jbosgi38-bundleX");
    }
 
    /*
@@ -110,8 +110,8 @@
       assertEquals("Bundle active", Bundle.ACTIVE, bundleX.getState());
       assertEquals("Bundle active", Bundle.ACTIVE, bundleB.getState());
       
-      undeploy("jbosgi38-bundleB.jar");
-      undeploy("jbosgi38-bundleX.jar");
+      undeployBundle("jbosgi38-bundleB");
+      undeployBundle("jbosgi38-bundleX");
    }
 
    /*
@@ -133,8 +133,8 @@
       assertEquals("Bundle active", Bundle.ACTIVE, bundleB.getState());
       assertEquals("Bundle active", Bundle.ACTIVE, bundleA.getState());
       
-      undeploy("jbosgi38-bundleA.jar");
-      undeploy("jbosgi38-bundleB.jar");
-      undeploy("jbosgi38-bundleX.jar");
+      undeployBundle("jbosgi38-bundleA");
+      undeployBundle("jbosgi38-bundleB");
+      undeployBundle("jbosgi38-bundleX");
    }
 }
\ No newline at end of file

Modified: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi39/OSGI39DeployerTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi39/OSGI39DeployerTestCase.java	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi39/OSGI39DeployerTestCase.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -63,7 +63,7 @@
       assertEquals("Bundle active", Bundle.ACTIVE, bundleB.getState());
       
       // Undeploy X before B
-      undeploy("jbosgi38-bundleX.jar");
-      undeploy("jbosgi38-bundleB.jar");
+      undeployBundle("jbosgi38-bundleX");
+      undeployBundle("jbosgi38-bundleB");
    }
 }
\ No newline at end of file

Added: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41DeployerTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41DeployerTestCase.java	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41DeployerTestCase.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.osgi.jbosgi41;
+
+//$Id$
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+
+import org.jboss.osgi.spi.junit.IntegrationTest;
+import org.jboss.osgi.spi.management.ManagedBundleMBean;
+import org.osgi.framework.Bundle;
+
+/**
+ * [JBOSGI-41] Verify persistent file storage
+ * 
+ * https://jira.jboss.org/jira/browse/JBOSGI-41
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 05-Mar-2009
+ */
+public class OSGI41DeployerTestCase extends IntegrationTest
+{
+   public void testFirstRun() throws Exception
+   {
+      ManagedBundleMBean bundleA = deployBundle("jbosgi41-bundleA");
+      assertEquals("Bundle active", Bundle.ACTIVE, bundleA.getState());
+      
+      String rootDir = bundleA.getProperty("org.osgi.framework.storage");
+      assertNotNull("Storage dir not null", rootDir);
+      
+      File dataFile = new File(rootDir + "/bundle" + bundleA.getBundleId() + "/data/config/jbosgi41.txt");
+      assertTrue("File exists: " + dataFile, dataFile.exists());
+      
+      BufferedReader br = new BufferedReader(new FileReader(dataFile));
+      String symbolicName = br.readLine();
+      assertEquals("jbosgi41-bundleA", symbolicName);
+      
+      undeployBundle("jbosgi41-bundleA");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/OSGI41DeployerTestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceA.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceA.java	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceA.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.osgi.jbosgi41.bundleA;
+
+//$Id$
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+
+import org.osgi.framework.BundleContext;
+
+/**
+ * ServiceA writes a file
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 05-Mar-2009
+ */
+public class ServiceA
+{
+   ServiceA(BundleContext context)
+   {
+      context.getDataFile("config").mkdirs();
+      
+      File dataFile = context.getDataFile("config/jbosgi41.txt");
+      try
+      {
+         System.out.println("dataFile: " + dataFile);
+         OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(dataFile));
+         out.write(context.getBundle().getSymbolicName());
+         out.close();
+      }
+      catch (IOException ex)
+      {
+         ex.printStackTrace(System.err);
+      }
+   }
+}


Property changes on: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceA.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceActivator.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceActivator.java	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceActivator.java	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.osgi.jbosgi41.bundleA;
+
+//$Id$
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceRegistration;
+
+public class ServiceActivator implements BundleActivator
+{
+   private ServiceRegistration registration;
+
+   public void start(BundleContext context)
+   {
+      ServiceA service = new ServiceA(context);
+      registration = context.registerService(ServiceA.class.getName(), service, null);
+   }
+
+   public void stop(BundleContext context)
+   {
+      if (registration != null)
+      {
+         registration.unregister();
+         registration = null;
+      }
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/trunk/testsuite/src/test/java/org/jboss/test/osgi/jbosgi41/bundleA/ServiceActivator.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Deleted: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleA.bnd
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleA.bnd	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleA.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -1,6 +0,0 @@
-# bnd build -classpath target/test-classes -output target/test-libs/jbosgi38-bundleA.jar src/test/resources/jbosgi38/bundleA.bnd
-
-Bundle-SymbolicName: jbosgi38-bundleA
-Bundle-Activator: org.jboss.test.osgi.jbosgi38.bundleA.ServiceActivator
-Export-Package: org.jboss.test.osgi.jbosgi38.bundleA
-

Deleted: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleB.bnd
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleB.bnd	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleB.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -1,6 +0,0 @@
-# bnd build -classpath target/test-classes -output target/test-libs/jbosgi38-bundleB.jar src/test/resources/jbosgi38/bundleB.bnd
-
-Bundle-SymbolicName: jbosgi38-bundleB
-Bundle-Activator: org.jboss.test.osgi.jbosgi38.bundleB.ServiceActivator
-Export-Package: org.jboss.test.osgi.jbosgi38.bundleB
-

Deleted: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleX.bnd
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleX.bnd	2009-03-05 10:22:49 UTC (rev 85287)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleX.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -1,5 +0,0 @@
-# bnd build -classpath target/test-classes -output target/test-libs/jbosgi38-bundleX.jar src/test/resources/jbosgi38/bundleX.bnd
-
-Bundle-SymbolicName: jbosgi38-bundleX
-Export-Package: org.jboss.test.osgi.jbosgi38.bundleX
-

Copied: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleA.bnd (from rev 85286, projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleA.bnd)
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleA.bnd	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleA.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,6 @@
+# bnd build -classpath target/test-classes -output target/test-libs/jbosgi38-bundleA.jar src/test/resources/jbosgi38/bundleA.bnd
+
+Bundle-SymbolicName: jbosgi38-bundleA
+Bundle-Activator: org.jboss.test.osgi.jbosgi38.bundleA.ServiceActivator
+Export-Package: org.jboss.test.osgi.jbosgi38.bundleA
+

Copied: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleB.bnd (from rev 85286, projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleB.bnd)
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleB.bnd	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleB.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,6 @@
+# bnd build -classpath target/test-classes -output target/test-libs/jbosgi38-bundleB.jar src/test/resources/jbosgi38/bundleB.bnd
+
+Bundle-SymbolicName: jbosgi38-bundleB
+Bundle-Activator: org.jboss.test.osgi.jbosgi38.bundleB.ServiceActivator
+Export-Package: org.jboss.test.osgi.jbosgi38.bundleB
+

Copied: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleX.bnd (from rev 85286, projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/bundleX.bnd)
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleX.bnd	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi38/jbosgi38-bundleX.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,5 @@
+# bnd build -classpath target/test-classes -output target/test-libs/jbosgi38-bundleX.jar src/test/resources/jbosgi38/bundleX.bnd
+
+Bundle-SymbolicName: jbosgi38-bundleX
+Export-Package: org.jboss.test.osgi.jbosgi38.bundleX
+

Added: projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi41/jbosgi41-bundleA.bnd
===================================================================
--- projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi41/jbosgi41-bundleA.bnd	                        (rev 0)
+++ projects/jboss-osgi/trunk/testsuite/src/test/resources/jbosgi41/jbosgi41-bundleA.bnd	2009-03-05 10:31:17 UTC (rev 85288)
@@ -0,0 +1,6 @@
+# bnd build -classpath target/test-classes -output target/test-libs/jbosgi41-bundleA.jar src/test/resources/jbosgi41/jbosgi41-bundleA.bnd
+
+Bundle-SymbolicName: jbosgi41-bundleA
+Bundle-Activator: org.jboss.test.osgi.jbosgi41.bundleA.ServiceActivator
+Export-Package: org.jboss.test.osgi.jbosgi41.bundleA
+




More information about the jboss-cvs-commits mailing list