From: whatnick <ti...@el...> - 2011-06-02 12:57:55
|
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. |