Re: Bundle.findEntries(...) and Bundle-Classpath

2009-11-11 Thread Jeremias Maerki
On 11.11.2009 16:37:31 lukewpatterson wrote: > > > Jeremias Maerki-2 wrote: > > > > On 10.11.2009 18:26:37 lukewpatterson wrote: > >> > >> In my activator, I'm bundletracking looking for /META-INF/services > >> folders. > >> I wrap around the service-providing bundles with a custom ClassLoader

Re: Launching Felix 2.0

2009-11-11 Thread Richard S. Hall
On 11/11/09 21:01, Nikita Sawant wrote: Hi Richard, Now I am using Framework 2.0.2, I get this exception: ERROR: Unable to start system bundle. (java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set) java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not s

Re: Launching Felix 2.0

2009-11-11 Thread Nikita Sawant
Hi Richard, Now I am using Framework 2.0.2, I get this exception: ERROR: Unable to start system bundle. (java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set) java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set at org.osgi.framework.Framework

Re: Launching Felix 2.0

2009-11-11 Thread Richard S. Hall
On 11/11/09 20:15, Nikita Sawant wrote: Thanks for the quick reply. Ideally I would like to not install the osgi core api into the framework, I had to cause the framework was not exporting it. Still, if a bundle requires a version of org.osgi.framework that the framework cannot satisfy, then

Re: Launching Felix 2.0

2009-11-11 Thread Nikita Sawant
Thanks for the quick reply. Ideally I would like to not install the osgi core api into the framework, I had to cause the framework was not exporting it. Using the latest Felix runtime should fix this issue, right? Thanks, Nikita Richard S. Hall wrote: On 11/11/09 20:00, Nikita Sawant wrote:

Re: Launching Felix 2.0

2009-11-11 Thread Richard S. Hall
On 11/11/09 20:00, Nikita Sawant wrote: Hi Richard, I followed the instructions to launch Felix in the link below and am able to launch Felix successfully. Now, I can start and stop the felix instance without any problem. When I install a bundle which has a BundleActivator, which is started

Re: Launching Felix 2.0

2009-11-11 Thread Nikita Sawant
Hi Richard, I followed the instructions to launch Felix in the link below and am able to launch Felix successfully. Now, I can start and stop the felix instance without any problem. When I install a bundle which has a BundleActivator, which is started by my host application I cannot activat

Re: D-Bus

2009-11-11 Thread Guido Spadotto
Christopher Armstrong wrote: Hi [...] 1) Compiling the relevant parts of libmatthew. This can be done by modifying the Makefiles. Note that you need relevant headers for the native code component of libmatthew unix library (the JNI stuff is a bit of a pain). 2) Compiling DBus-Java for OSGi. Ag

Re: D-Bus

2009-11-11 Thread Christopher Armstrong
Hi I have done this before. I used Java-DBus in a thesis project, and modified it to work on OSGi. There are multiple issues to sort through, and it really needs a re- design or compatibility layer to get it to work properly with OSGi. Some of the things you will need to do: 1) Compiling th

Configurable properties for a custom service are not configurable via the Configuration Console (OSGI Declarative Services - SCR)

2009-11-11 Thread Che Frenz
On our project we are developing classes that are configurable via the Apache Felix Maven SCR Plugin and Felix Configuration Console. I understand the concept of the scr.property tag and am able to view and edit these properties within the Console Configuration screen. However, I am having tro

Re: Bundle.findEntries(...) and Bundle-Classpath

2009-11-11 Thread Richard S. Hall
On 11/11/09 10:20, lukewpatterson wrote: Richard S. Hall wrote: I'm just trying to understand how the "contents of the contents", as you put it, aren't included in "the contents". Just think of how you manually unzip an archive. If you unzip it, you get its contents. If the

Re: Bundle.findEntries(...) and Bundle-Classpath

2009-11-11 Thread lukewpatterson
Jeremias Maerki-2 wrote: > > On 10.11.2009 18:26:37 lukewpatterson wrote: >> >> In my activator, I'm bundletracking looking for /META-INF/services >> folders. >> I wrap around the service-providing bundles with a custom ClassLoader and >> then register them with my API's service factory. >> >

Re: Bundle.findEntries(...) and Bundle-Classpath

2009-11-11 Thread lukewpatterson
Richard S. Hall wrote: > >> I'm just trying to understand how the >> "contents of the contents", as you put it, aren't included in "the >> contents". >> > > Just think of how you manually unzip an archive. If you unzip it, you > get its contents. If the contents contain other zip files, th

javax.xml.bind classes (JDK 1.6) - Apache Felix Karaf 1.0.0 - Apache CXF 2.2

2009-11-11 Thread Charles Moulliard
I would like to know if we have to export (or not) the javax.xml.bind* packages defined in the file config.properties file of Apache Felix 2.2 when I would like to use Apache CXF. By default, they are exported but I have an unresolved constraint issue when deploying bundles required fro CXF 2.2 and