Hi all, we worked on using geotools as an osgi bundle, but only for specific releases of GeoTools. The latest version for which we did this is 2.6.4. You can download the bundle from here:
http://svn.esdi-humboldt.eu/repo/humboldt2/trunk/hale/hale-platform/target/org.geotools/ In this folder you will also find the required configuration files (*.bnd) to generate the manifest using bnd. Please note that a few of the dependencies that gt relies on are not part of this bundle, but can be found in the platform as well - just browse the repository. Also note that the generated gt 2.6.4 also has a minor patch applied. Hope this helps & best regards, Thorsten Am 04.04.2011 15:36, schrieb Jody Garnett: > Hi Chad: > > I would love to have GeoTools issue OSGi plugins out of the box; "all" > we need is someone to do the work. There is an outstanding proposal > describing the work here: > - > http://docs.codehaus.org/display/GEOTOOLS/Add+bundle+information+to+jar+manifest > > I did add some stuff to net.refractions.udig.libs that configured > GeoTools for use. If you can tell me how to do that just with OSGi > callbacks I would be happy to make the change. > > Specifically I want to feed some additional EPSG codes into > gt-referencing and set a few other switches on the GeoTools class. > > Other than that you can just package it up yourself; using a single OSGi > plugin for all of the GeoTools jars (so that the java plugin system does > not run into classpath trouble). > > -- > Jody Garnett > > On Monday, 4 April 2011 at 11:18 PM, Chad S wrote: > >> I am looking for a geotools build that perhaps has been converted to >> an OSGI plugin or capable of being an OSGI plugin. I was working in >> Eclipse with uDig hoping that since uDig imported all the geotools >> stuff automatically that i could incorporate that set of libraries >> with my custom OSGI builds into one web service(instead of using >> glassfish). Turns out that the OSGI plugins that you get with uDig are >> specific to eclipse(wondering why) so taking anything outside of >> eclipse(like as a web service on a linux box) seems to be not doable. >> >> I have read through some message board links saying the geotools was >> currently not osgi compatible and it seems like NetBeans 6.9 made a >> huge stride with OSGI capabilities so i was just wanted to send out a >> feeder to see if anyone had any suggestions. thanks! >> >> chad -- Thorsten Reitz Abteilungsleiter Graphische Informationssysteme Fraunhofer-Institut für Graphische Datenverarbeitung IGD Fraunhoferstr. 5 | 64283 Darmstadt | Germany Tel +49 6151 155-416 | Fax +49 6151 155-444 [email protected] | www.igd.fraunhofer.de ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
