I finally found the more specific page on the problem: - http://docs.codehaus.org/display/GEOTDOC/03+GeoTools+and+Eclipse+or+OSGi
Cheers, Jody Jody Garnett wrote: > Hi "lacd" ... your question is a common one. > > The only answer is to dump all the GeoTools jars into the same plugin, > GeoTools uses Java's Factory Service Provide Interface (ie FactorySPI) > plugin system in which it looks up stuff on the classpath. > > Eclipse RCP uses some scary classloader tricks that interfere with this. > > For more information on FactorySPI: > - http://docs.codehaus.org/display/GEOTDOC/How+to+Find+a+Factory > > For a working example of how to do this check out the uDig project. And > before you ask the "buddy classloader" trick wont work - it lets plugin > share a classloader but it does not let a buddy provided a > META_INF/services/ directory full of text files (which is what factory > spi wants to see). > > Cheers, > Jody > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
