You are correct; if you can get the jars into the mix using another technique then we do not need to make use of them as a JRE extension.
I do have one small word of caution - JAI and ImageIO use the Java Service Provider Interface technique to "plugin" to each other. This technique is not compatible with OSGi; as OSGi does not allow a plugin to advertise the META-INF/services folder anymore. GeoTools also suffers this problem; I have tried a couple tricks; such as making the plugins share a buddy class loader; but thus far have not been successful.-- Jody Garnett On Thursday, 22 December 2011 at 12:08 AM, Frank Gasdorf wrote: > Just reviewed the bundles: > net.refractions.udig.jai and net.refractions.udig.jai.macosx > > What I assume what the fragments for, please correct me, if I'm wrong: > - if jai and imageio are not in the classpath - (JaiInstallerBootstrap > -> ClassNotFoundException check) it tries to copy libraries into > possible folders (platform dependent -> therefor a mac fragment and > one for all others) > - after copying the application will restart > (PlatformUI.getWorkbench().restart()) and the libraries should be in > the classpath if everything is going right. > > Right now I would say, that this would not be required anymore if we > ship udig with the JAI/ImageIO bundles and its relevant platform > dependent fragments. In addition to that we could kick out the > duplicated jar files and the partly duplicated code (of this two > fragments) as well. I've now idea how this would work in a restricted > environment, where the user can't install software and hasn't the > right to do its (administrator in windows systems)... Interesting > > Any opinions? > > Frank > > > > -- > > Jody Garnett > > > > On Tuesday, 20 December 2011 at 6:47 PM, Frank Gasdorf wrote: > > > > Hello List, > > > > I would like to discuss a proposal to add JAI native support for uDIG > > out of the box without preparing and bundling a JRE before roll out > > releases. > > > > Please have a look at > > > > http://udig.refractions.net/confluence/display/UDIG/native+support+bundles+for+java+advanced+imaging > > > > Feedback is warmly welcome > > Cheers > > -Frank > > > > > > PS: could that proposal be interesting for users (SDK) as well? > > _______________________________________________ > > User-friendly Desktop Internet GIS (uDig) > > http://udig.refractions.net > > http://lists.refractions.net/mailman/listinfo/udig-devel > > > > >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
