Is there any particular reason for throwing all external dependencies into this one plugin, other than "haven't got round to cleaning it up"...?
This is rather an obstacle for integrating other OSGi bundles into uDig or using uDig components in other Eclipse RCP applications. For example, in my own OSGi based project, I have separate com.foo.osgi.jts and com.foo.osgi.log4j bundles. The monolithic ...udig.libs also contains JTS and log4j. If I'm sloppy about imports, my application bundles declare their dependencies by bundle (Import-Bundle: com.fool.osgi.jts), which will lead to runtime exceptions, since the JTS classes from com.foo.osgi.jts used by my application are not assignable to the JTS classes used by uDIG, coming from different class loaders. To avoid that, I can use package imports instead (Import-Package: com.vividsolutions.jts.geom, ...). This gets rid of the class loader problems, but then I'm forced to use the JTS version encapsuled in uDIG. It would be helpful if uDIG would try to be a better OSGi citizen and factor out its dependencies... Regards, Harald ******************************************* innovative systems GmbH Navigation-Multimedia Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980 ******************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. ******************************************* _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel