2009/6/6 Phil Steitz <phil.ste...@gmail.com>:
> Can one of our OSGI experts pls look into this?   If what the reporter is
> saying is correct, all of our jars built using m2 are similarly "unuseable"

I've added a response to the JIRA ticket - not that I'm an OSGi
expert, but its come up before and what were doing is following the
advice from Apache Felix

Niall

> Thanks!
>
> Phil
>
>
> Paul Field (JIRA) wrote:
>>
>> MANIFEST.MF contains incorrect "Import-Package" OSGi header (makes it
>> unusable for OSGi)
>>
>> ----------------------------------------------------------------------------------------
>>
>>                 Key: MATH-275
>>                 URL: https://issues.apache.org/jira/browse/MATH-275
>>             Project: Commons Math
>>          Issue Type: Bug
>>    Affects Versions: 1.2
>>            Reporter: Paul Field
>>
>>
>> The MANIFEST.MF file contains this OSGi header:
>>
>> Import-Package: org.apache.commons.discovery.tools,
>>  org.apache.commons.math;version=1.2,
>>  org.apache.commons.math.analysis;version=1.2,
>>  org.apache.commons.math.complex;version=1.2,
>> ...
>>
>> This header defines what the bundle requires from the OSGi runtime and so
>> it shouldn't include the packages defined in the bundle (i.e. all the
>> org.apache.commons packages). I suspect it shouldn't include the
>> org.apache.commons.discovery.tools package either as I can't see that math
>> has a dependency on that (I could be wrong :-) ).
>>
>> The presence of this header causes the Math library to be unusable as an
>> OSGi bundle in Eclipse RCP development (and I suspect in any OSGI
>> container).
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to