Re: Support for most recent OSGI versions...

2010-03-25 Thread Erik Brakkee
Some more mail bombing This is what it looks like in the code (I am running an example from the book Equinox and OSGI, but using felix instead of equinox): private static Option dsProfile() { return new DefaultCompositeOption(mavenBundle().groupId( "org.apache.felix").artifactId("

Re: Support for most recent OSGI versions...

2010-03-25 Thread Erik Brakkee
And of course, I forgot the most simple option of all, which is to explicitly specify the bundles to be installed and not use profiles. So instead of using a profile I would add the mavenBundle() for the felix scr bundle explictly. In fact, this approach offers a fully programmatic way to define p

Re: Support for most recent OSGI versions...

2010-03-25 Thread Erik Brakkee
On Thu, Mar 25, 2010 at 8:40 PM, Erik Brakkee wrote: > I have been looking at it some more and I really don't understand. In the > platform file I see only a reference to a maven artifact which is the main > file of felix with basically only a dependency on the shell version. Where > can I find th

Re: Support for most recent OSGI versions...

2010-03-25 Thread Erik Brakkee
I have been looking at it some more and I really don't understand. In the platform file I see only a reference to a maven artifact which is the main file of felix with basically only a dependency on the shell version. Where can I find the dependency for felix 2.0.1 on the 1.0.8 version of the scr b

Re: Support for most recent OSGI versions...

2010-03-25 Thread Erik Brakkee
On Wed, Mar 24, 2010 at 6:56 PM, Alin Dreghiciu wrote: > I will provide this support out of the box very soon. > Thanks all for your responses. I will have a look at this. By the way, even though felix 2 is compliant to the core 4.2 framework, not all services with the currently uses 2.0.1 felix

Re: Support for most recent OSGI versions...

2010-03-24 Thread Alin Dreghiciu
I will provide this support out of the box very soon. On Wed, Mar 24, 2010 at 10:04 AM, Walter Treur wrote: > Erik, > You should be able to invoke a custom framework by with the static > customFramework method from the CoreOptions class in your JUnit > @Configuration method. This method allows yo

Re: Support for most recent OSGI versions...

2010-03-24 Thread Walter Treur
Erik, You should be able to invoke a custom framework by with the static customFramework method from the CoreOptions class in your JUnit @Configuration method. This method allows you to specify an custom framework definition, a 'Base Framework name' and a name for your custom framework which wi

Support for most recent OSGI versions...

2010-03-23 Thread Erik Brakkee
Hi, I would like to use an OSGI R4.2 compliant container but it appears that pax-exam (1.2.0) does not support these yet. For instance, when will equinox 3.5.2 be supported? Also, is it possible to easily add support for a given OSGI container version myself using some extension API? One could a