--
You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You're missing the (so far unwritten) documentation :-( That is why I've not advertised it yet.
Yes, you need an OSGi framework that is the exact version of the org.osgi.* packages that are only your -buildpath and -testpath. Although this constraint is standard in test cases, we're so used to the flexibility of the OSGi framework that it feels awfully wrong.
Yes, it would be nice if Launchpad could support more flexibility. The problem is that in JUnit test cases we get the OSGi classes from the environment, i.e. they are from the Application Loader. They are needed there since the test code does not run inside the framework. So there is nothing I can do. I cannot run the framework against the boot loader class path since then the classes in the test directory would be in a different class space, which would be infinitely worse.There is one possibility but then I need to take over the JUnit engine completely and we already have that solution and expect that that will give more problems than it solves.
That said, in practice it is a small problem, more visible because the OSGi generally is so generous with version handling than that it actually causes problems imho. It would be nice, however, if we could do it so I am open for suggestions that do not overcomplicate this nifty way of testing.
Ok, I jumped the gun it seems but I do not understand the problem you are referring to.
First, why do you need biz.aQute.junit combined with Launchpad? You can now stay in normal JUnit and there is no need for anything else?
Second, biz.aQute.junit requires org.osgi.util.tracker [1.4,2.0) and Launchpad [1.5,2.0). So if you use OSGi Release 6 on your build/test path then all should be happy anyway.
Third, the Robolectric solution is really the classic OSGi Junit integration. It handles all the versioning quite well.
Fr Jeremy
>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> --
>>>
>>> BJ
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
> BJ
>
> --
> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-dev...@googlegroups.com.