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, [email protected] 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: \ > >
