The Bnd tool will probably not work as expected but there is a short hack
description on this page for split packages:

http://blog.athico.com/2010/01/drools-osgi-ready.html

<configuration>
   <manifestLocation>META-INF</manifestLocation>
   <instructions>
       <_removeheaders>Ignore-Package</_removeheaders>                  
      
<Require-Bundle>org.drools.api;visibility:=reexport;bundle-version="${pom.version}"</Require-Bundle>
       <Import-Package>!org.drools.*, *</Import-Package>
       <Export-Package>org.drools.*</Export-Package>   
       <DynamicImport-Package>*</DynamicImport-Package>
       <Bundle-Activator>org.drools.osgi.core.Activator</Bundle-Activator>
   </instructions>
</configuration>

We may have to build proxy bundles to aggrgate and reexpose the split
packages.

Cheers,

whatnick.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/OSGi-first-simple-example-with-referencing-factories-working-tp6392239p6398392.html
Sent from the geotools-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to