Malm Paul ha scritto: > I've changed to geotools 2.6.0 but it is the same and yhis is what I have > in my runnable jar in META-INF\services can uou see if something is missing?
Ah, I think I know it, it's the single jar packaging that's breaking everything. You know, the SPI system works so that each jar providing a certain type of extension point, such as the EPSG factory, has a org.opengis.referencing.crs.CRSAuthorityFactory file in its META-INF/services folder. So we have many of these files, all distributed in different jars. The moment you merge them into a single jar they overwrite each other. Long story short, it's not possible to merge the GeoTools jars in a single jar unless you're also manually editing the files in META-INF/services so that they contain the sum of all same named file contents Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
