Details
Description
Geotools libraries are not directly usable in an OSGi environment. This affects not only uDig (based on Eclipse RCP which in turn is based on OSGi) but also any potential clients of Geotools which are OSGi based.
uDig currently resorts to putting all required Geotools libraries and their external dependencies into one giant bundle net.refractions.udig.libs. This is a major problem for the following reasons:
- It defeats the purpose of modularization.
- This approach works for uDig itself, but not for any client project developing components which have to work both with or without uDig.
Rather than leaving it up the client to osgify Geotools according to their needs, it would be preferable if the Geotools distribution were OSGi compliant.
This can be achieved by changing the Maven POMs and the build process, without any changes to Java sources. See
http://docs.codehaus.org/display/GEOTOOLS/Add+bundle+information+to+jar+manifest
for a detailed proposal.
* can do all the job today
* can maintain it over time
* can earn the trust of all module maintainers enough to perform changes on their modules (today for doing the job, and tomorrow for keeping it up to date)