Hi,
im having a ClassLoader issue. Since im quite an osgi newby, hopefully the answer isn't that hard :)
I think it has to do with Compile vs. Runtime libraries. in Netbeans 6.7.1 project properties, the compiletime libs are always propagated to the other categories.. so i can't differentiate there.
When compiling the FelixHost the next jars are used
- Felix.jar
- osgi-core.jar
- osgi-compendium.jar
- osgi.service.obr-1.0.2.jar
But when running, the framework will load an implementation for OBR. This OBR bundle also contains the interface definitions. I think this is why there's a classCastException..
i actually want the FelixHost to work together with OBR to do some initial provisioning..
Any ideas are welcome.