Craig: (got it right that time - sigh)
You had some experience with the "udig lite" effort that had bundled up some of
geotools as OSGi plugins? I cannot really remember any of the details since I
was not active at the time. Is there anything you can remember that may help
us?
Mathieu - one thing that may help is that we have all our GeoTools code using
the same "factoryregistery" class to check factory spi (and to hold onto a
singleton of each factory found). We have extended this factory registery in a
few cases to allow people to "register" additional implementations.
This was does explicitly so we could stuff things into GeoTools from Eclipse
RCP or from Spring.
So perhaps:
- we could try generating additional entries for the MANIFEST.MF based on the
services/ directory
- we could process these additional entries of the MANIFEST.MF and "register"
these additional factories with the appropriate register
Jody
On 17/06/2010, at 11:18 PM, Craig Taverner wrote:
> Hi Mathieu, thanks for the intro Jody,
>
> > Wanted to introduce you to Crag from the uDig project - who cheerfully
> > asked me how geotools / osgi relationship was going. When he last checked
> > in Harald was working on it (but as you saw on that page Harald left
> > instructions and thus nothing has happened).
>
> Sorry, I'm kind of busy right now but I keep thinking on this. I'm
> afraid I won't have much time to code/test anything in the next two
> weeks, but I hope to find time to to update the wiki before that.
>
> Just to correct a spelling mistake, my name is actually 'Craig' :-)
>
> Anyway, Mathieu, I'm just excited to see someone looking into this, even if
> it will take time to get it done. I think it will make my life a lot easier,
> since we use the uDig SDK for build our app, and the geotools are all packing
> into a single awkward plugin, with a number of less ideal consequences, and
> I'd love to see separate OSGi jars running in uDig.
>
> I'll watch this space for developments :-)
>
> Regards, Craig
>
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel