You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2015/06/03 02:42:16 UTC

svn commit: r1683206 - /felix/trunk/scr/bnd.bnd

Author: cziegeler
Date: Wed Jun  3 00:42:15 2015
New Revision: 1683206

URL: http://svn.apache.org/r1683206
Log:
Fix package exports and imports: framework and dto should never be exported, promise/function should also be imported

Modified:
    felix/trunk/scr/bnd.bnd

Modified: felix/trunk/scr/bnd.bnd
URL: http://svn.apache.org/viewvc/felix/trunk/scr/bnd.bnd?rev=1683206&r1=1683205&r2=1683206&view=diff
==============================================================================
--- felix/trunk/scr/bnd.bnd (original)
+++ felix/trunk/scr/bnd.bnd Wed Jun  3 00:42:15 2015
@@ -13,8 +13,6 @@ Export-Package: org.apache.felix.scr.com
  org.osgi.service.component;version=1.3;-split-package:=first;provide:=true, \
  org.osgi.service.component.runtime;version=1.3;provide:=true, \
  org.osgi.service.component.runtime.dto;version=1.3;provide:=true, \
- org.osgi.dto;version=1.0, \
- org.osgi.framework.dto;version=1.8, \
  org.osgi.util.function;version=1.0, \
  org.osgi.util.promise;version=1.0
 
@@ -42,6 +40,7 @@ Import-Package: \
  org.osgi.service.log;version="[1.3,2)";resolution:=optional, \
  org.osgi.service.packageadmin;version="[1.2,2)";resolution:=optional, \
  org.osgi.framework.wiring;version="[1.0,2)", \
+ org.osgi.util.function;version="[1.0,2)", \
  *
 
 DynamicImport-Package: \



Re: svn commit: r1683206 - /felix/trunk/scr/bnd.bnd

Posted by Carsten Ziegeler <cz...@apache.org>.
Am 03.06.15 um 11:32 schrieb Carsten Ziegeler:
> Am 02.06.15 um 21:54 schrieb David Jencks:
>> I exported the dto and framework.dto packages so you could use the runtime on pre-R6 frameworks.  Is there something wrong with my reasoning?  
>>
> This implementation is used as the RI for DS and BJ asked to remove
> those exports as there should never be anyone exporting framework packages.
> At that point I didn't realize why we did this, but after the fact
> remembered about it and reopened FELIX-4787 :)
> 
If no one complains I'll drop the pre R6 framework support completely in
the next days

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: svn commit: r1683206 - /felix/trunk/scr/bnd.bnd

Posted by Carsten Ziegeler <cz...@apache.org>.
Am 02.06.15 um 21:54 schrieb David Jencks:
> I exported the dto and framework.dto packages so you could use the runtime on pre-R6 frameworks.  Is there something wrong with my reasoning?  
> 
This implementation is used as the RI for DS and BJ asked to remove
those exports as there should never be anyone exporting framework packages.
At that point I didn't realize why we did this, but after the fact
remembered about it and reopened FELIX-4787 :)

Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: svn commit: r1683206 - /felix/trunk/scr/bnd.bnd

Posted by David Jencks <da...@yahoo.com.INVALID>.
I exported the dto and framework.dto packages so you could use the runtime on pre-R6 frameworks.  Is there something wrong with my reasoning?  

thanks
david jencks

On Jun 2, 2015, at 8:42 PM, cziegeler@apache.org wrote:

> Author: cziegeler
> Date: Wed Jun  3 00:42:15 2015
> New Revision: 1683206
> 
> URL: http://svn.apache.org/r1683206
> Log:
> Fix package exports and imports: framework and dto should never be exported, promise/function should also be imported
> 
> Modified:
>    felix/trunk/scr/bnd.bnd
> 
> Modified: felix/trunk/scr/bnd.bnd
> URL: http://svn.apache.org/viewvc/felix/trunk/scr/bnd.bnd?rev=1683206&r1=1683205&r2=1683206&view=diff
> ==============================================================================
> --- felix/trunk/scr/bnd.bnd (original)
> +++ felix/trunk/scr/bnd.bnd Wed Jun  3 00:42:15 2015
> @@ -13,8 +13,6 @@ Export-Package: org.apache.felix.scr.com
>  org.osgi.service.component;version=1.3;-split-package:=first;provide:=true, \
>  org.osgi.service.component.runtime;version=1.3;provide:=true, \
>  org.osgi.service.component.runtime.dto;version=1.3;provide:=true, \
> - org.osgi.dto;version=1.0, \
> - org.osgi.framework.dto;version=1.8, \
>  org.osgi.util.function;version=1.0, \
>  org.osgi.util.promise;version=1.0
> 
> @@ -42,6 +40,7 @@ Import-Package: \
>  org.osgi.service.log;version="[1.3,2)";resolution:=optional, \
>  org.osgi.service.packageadmin;version="[1.2,2)";resolution:=optional, \
>  org.osgi.framework.wiring;version="[1.0,2)", \
> + org.osgi.util.function;version="[1.0,2)", \
>  *
> 
> DynamicImport-Package: \
> 
>