Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-12 Thread Richard S. Hall
On 1/12/10 6:42, Derek Baum wrote: How about addressing this by embedding the ConfigAdmin API in felix-http.jetty bundle? All I have done is add org.osgi.service.cm (the ConfigAdmin API package) to each of Export-Package, Private-Package and Import-Package to http/jetty/pom.xml:

Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-12 Thread Derek Baum
How about addressing this by embedding the ConfigAdmin API in felix-http.jetty bundle? All I have done is add org.osgi.service.cm (the ConfigAdmin API package) to each of Export-Package, Private-Package and Import-Package to http/jetty/pom.xml: org.apache.felix.http.api;

Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-12 Thread Sten Roger Sandvik
Created a JIRA task (https://issues.apache.org/jira/browse/FELIX-1978) for this. On Mon, Jan 11, 2010 at 10:26 PM, Felix Meschberger wrote: > Hi, > > I fear, the problem is > >   public final class JettyService >    implements ManagedService, Runnable > > Thus, if the Configuration Admin package

Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-11 Thread Felix Meschberger
Hi, I fear, the problem is public final class JettyService implements ManagedService, Runnable Thus, if the Configuration Admin package cannot be imported, the JettyService cannot be instantiated and thus not be started. The fix is probably to created a small (anonymous or inner) class w

RE: Felix HTTP implementation having hard dependency on Config Admin

2010-01-11 Thread Hlusi, Jiri (NSN - FI/Tampere)
elow by Mike? Many thanks again! br, Jiri >-Original Message- >From: ext Mike Haney [mailto:txmikes...@gmail.com] >Sent: 11 January, 2010 02:52 >To: users@felix.apache.org >Subject: Re: Felix HTTP implementation having hard dependency >on Config Admin > >Co

Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-10 Thread Mike Haney
Couldn't the package imports be set to optional? On Jan 10, 2010 6:42 PM, "Sten Roger Sandvik" wrote: Hi. It's only the packages that is required. You can either install the configadmin bundle or let the startup environment export the cm.* compendium packages. I do not think the package depende

Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-10 Thread Richard S. Hall
On 1/10/10 7:41 PM, Sten Roger Sandvik wrote: Hi. It's only the packages that is required. You can either install the configadmin bundle or let the startup environment export the cm.* compendium packages. I do not think the package dependency can easily be removed. We could make it optiona

Re: Felix HTTP implementation having hard dependency on Config Admin

2010-01-10 Thread Sten Roger Sandvik
Hi. It's only the packages that is required. You can either install the configadmin bundle or let the startup environment export the cm.* compendium packages. I do not think the package dependency can easily be removed. /srs On Sun, Jan 10, 2010 at 11:46 PM, Hlusi, Jiri (NSN - FI/Tampere) wrote

Felix HTTP implementation having hard dependency on Config Admin

2010-01-10 Thread Hlusi, Jiri (NSN - FI/Tampere)
Hello, If I try to run the Felix framework, release 2.0.1, with default content (framework, obr, shell, shell-tui), and install additionally "org.apache.felix.http.bundle-2.0.4.jar" on top of that, the HTTP bundle won't start (will not be resolved) due to missing dependency on CM packages (Conf