transitive dependencies

2012-02-26 Thread Sandro Boehme
Hello, the problem seems to be simple: My bundle declared two package dependencies (package A and B) with always one specific version version="[1.1.2,1.1.2]". The problem seems to be, that B has a dependency to A with version="[1.1.2, 2.0.0)" of A. When deploying my bundle, B gets wired to ver

Re: HTTP Authentication by adding OBR

2012-02-26 Thread Richard S. Hall
On 2/18/12 5:16 PM, cont...@christian-vogel.info wrote: Hello, is there a possibility to add a OBR repository which is hosted for example at Github to the felix environment? If I use "obr add-url" I am getting an exception with HTTP code 401 for "Authentication required". Is this related to

Re: (kein Betreff)

2012-02-26 Thread Richard S. Hall
On 2/17/12 11:55 AM, cont...@christian-vogel.info wrote: Hello, I have a question about using Bundle Repository. I have a my own one with HTTP authentification. Now when I want to add it I only get a 401 response. Where can I define the authentification properties? Not sure if you figured th

Re: Bundle resolving // obr:info result: "unknown bundle"

2012-02-26 Thread Richard S. Hall
On 2/26/12 13:39 , Sandro Boehme wrote: Also, I'm not sure why you are doing "info"...that is an OBR command and will look in repositories for your bundle. What you really want to do is either "headers 112" or "inspect cap osgi.wiring.bundle 112"... If I understand it correctly: "inspect" can b

Re: Bundle resolving // obr:info result: "unknown bundle"

2012-02-26 Thread Sandro Boehme
Also, I'm not sure why you are doing "info"...that is an OBR command and will look in repositories for your bundle. What you really want to do is either "headers 112" or "inspect cap osgi.wiring.bundle 112"... If I understand it correctly: "inspect" can be called on resolved bundles to see how t

Re: inject instance iPOJO

2012-02-26 Thread Clement Escoffier
Hi, By default iPOJO (1.8.0+) is using proxies, so you can give the service object to any other objects: @Requires private LogService m_log; //... public Helper createHelper() { return new Helper(m_log); } Regards, Clement On 26.02.2012, at 10:54, Fairouz Fakhfakh wrote: > > Hell

Re: Instance iPOJO

2012-02-26 Thread Clement Escoffier
Hi, You can use the 'from' parameter of the @Requires annotation: @Requires(from="alarm") However, this reduces the substitutability of your service, so I would recommend to use such configuration only when it's really required. In addition, you can use the 'filter' parameter to specify attribu

inject instance iPOJO

2012-02-26 Thread Fairouz Fakhfakh
Hello, I'm using iPOJO in my application and I would like to inject a service instance in another class. How can I do that? Do you have an example, please? Thank you for answering me. Best regards, -- Fairouz FAKHFAKH Master student Research group ReDCAD National