Hi Mathieu,

I believe we are encountering SPI issues with FileDataStore factories. The
shapefile loader registers the .shp extension when the shapefile module
loads, if we attempt to load shapefiles via the OSGi bundles of these
modules there are:

a) package conflicts of course (api vs main - org.geotools.data and others)
b) failure to register shapefile datastore in FileDataStoreFinder

We are using BndTools (mainly because Neil Bartlett does some OSGi advocacy
and gave us a chance to test on both Felix and Equinox - this was before we
discovered the pax eclipse plugin). I prefer ant+ivy as my build system
rather than the declarative joys of maven. Anyway the reference system
services are intercepted quite well, but they don't disappear when the code
providing bundle is stopped/uninstalled. We may need to do similar things
for FileDataStores.

Can I get svn access to hack at the FileDataStore service registry ?

Cheers,

Tisham.

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

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to