You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Felix Meschberger <fm...@adobe.com> on 2013/07/29 15:56:46 UTC

Re: svn commit: r1507250 - in /sling/trunk/bundles/commons/scheduler: ./ src/main/java/org/apache/sling/commons/scheduler/impl/

Hi

Am 26.07.2013 um 12:07 schrieb <cz...@apache.org> <cz...@apache.org>:

>                         <DynamicImport-Package>
> +                            org.apache.sling.discovery,

Can we at least declare a very broad import version range ? such as [1.0,2) ?

Regards
Felix


Re: svn commit: r1507250 - in /sling/trunk/bundles/commons/scheduler: ./ src/main/java/org/apache/sling/commons/scheduler/impl/

Posted by Felix Meschberger <fm...@adobe.com>.
Hi

Am 29.07.2013 um 16:22 schrieb Carsten Ziegeler:

> Good catch, somehow I was under the impression that bnd calculates this for
> us...but of course it doesn't as it (correctly) takes the statement written
> to the pom.

BND will calculate the range for Import-Package but it probably cannot for DynamicImport-Package: For example there is no safe way to derive a version range for a dynamic import of the form some.package.*. But for a fixed name (such as o.a.s.discovery) this might probably be feasible.

> 
> Fixed now

Thanks.

Regards
Felix

> 
> Carsten
> 
> 2013/7/29 Felix Meschberger <fm...@adobe.com>
> 
>> Hi
>> 
>> Am 26.07.2013 um 12:07 schrieb <cz...@apache.org> <
>> cziegeler@apache.org>:
>> 
>>>                        <DynamicImport-Package>
>>> +                            org.apache.sling.discovery,
>> 
>> Can we at least declare a very broad import version range ? such as
>> [1.0,2) ?
>> 
>> Regards
>> Felix
>> 
>> 
> 
> 
> -- 
> Carsten Ziegeler
> cziegeler@apache.org


Re: svn commit: r1507250 - in /sling/trunk/bundles/commons/scheduler: ./ src/main/java/org/apache/sling/commons/scheduler/impl/

Posted by Carsten Ziegeler <cz...@apache.org>.
Good catch, somehow I was under the impression that bnd calculates this for
us...but of course it doesn't as it (correctly) takes the statement written
to the pom.

Fixed now

Carsten

2013/7/29 Felix Meschberger <fm...@adobe.com>

> Hi
>
> Am 26.07.2013 um 12:07 schrieb <cz...@apache.org> <
> cziegeler@apache.org>:
>
> >                         <DynamicImport-Package>
> > +                            org.apache.sling.discovery,
>
> Can we at least declare a very broad import version range ? such as
> [1.0,2) ?
>
> Regards
> Felix
>
>


-- 
Carsten Ziegeler
cziegeler@apache.org