I've made some progress with the osgi sandbox. I now have 2 geronimo
plugins starting in karaf. I'm not entirely sure what is happening
next, but I think that felix is searching 2 ^^ 50 or more
comibinations for a consistent class space for the 3rd plugin.
I'm going to try equinox next.
I've checked in the current state of my work. If you want to build
it...
you need to build karaf from trunk.
You need to apply this patch to https://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/xstream-1.3
and build it:
Index: pom.xml
===================================================================
--- pom.xml (revision 821959)
+++ pom.xml (working copy)
@@ -46,14 +46,14 @@
!com.thoughtworks.xstream*,
!sun.misc*,
!sun.reflect*,
- javax.xml.stream*;version="[1.0.1,2)",
+ javax.xml.stream*;version="[1.0,2)",
net.sf.cglib*;resolution:=optional;version="[2.1.3,3)",
nu.xom;resolution:=optional;version="[1.1,2)",
org.codehaus.jettison*;resolution:=optional;version="[1,2)",
org.dom4j*;resolution:=optional;version="[1.6.1,2)",
org.jdom*;resolution:=optional;version="[1,2)",
org.joda.time*;resolution:=optional;version="[0.9,1)",
- org.xmlpull*;version="[1.1.3,2)",
+ org.xmlpull*;version="[1.1,2)",
*
</servicemix.osgi.import.pkg>
<servicemix.osgi.failok>true</servicemix.osgi.failok>
@@ -65,7 +65,18 @@
<artifactId>${pkgArtifactId}</artifactId>
<version>${pkgVersion}</version>
<optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>xpp3</groupId>
+ <artifactId>xpp3</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.xpp3</artifactId>
+ <version>1.1.4c_2-SNAPSHOT</version>
+ </dependency>
</dependencies>
<build>
You need to build all the bundles in the checkout.
With luck you should then be able to build the framework project.
To start, in assemblies/geronimo-framework/target
tar xzf geronimo-framework-3.0-SNAPSHOT-bin.tar.gz ;chmod u+x geronimo-
framework-3.0-SNAPSHOT/bin/karaf
./geronimo-framework-3.0-SNAPSHOT/bin/karaf
thanks
david jencks