felix subproject bundles without the compendium classes

2011-02-03 Thread Jackson, Bruce
Hi All Does anyone know if there are build flags that allow the felix subproject jars (for example eventadmin or http) to be built without including the org.osgi.* classes that from part of the standard compendium? Thanks Bruce

Re: felix subproject bundles without the compendium classes

2011-02-03 Thread Toni Menzel
You can change the bnd instructions inside the poms to do that. For event, add org.osgi.service.event to the list of Import-Package. However, there has been a long debate of the pros and cons of including interfaces into implementation bundles. When exported correctly there is usually no big

Re: felix subproject bundles without the compendium classes

2011-02-03 Thread Clement Escoffier
Hi, On 03.02.11 13:00, Toni Menzel t...@okidokiteam.com wrote: You can change the bnd instructions inside the poms to do that. For event, add org.osgi.service.event to the list of Import-Package. However, there has been a long debate of the pros and cons of including interfaces into

Re: felix subproject bundles without the compendium classes

2011-02-03 Thread Jackson, Bruce
Yes, correct. For Android I have to be able to compile ate Android part of the app against the osgi compendium jar with that on the app classpath, and then export the compendium classes into the felix framework. If the same packages appear in the bundles, you then run into the whole classloaders