On Tue, Jul 12, 2011 at 9:18 AM, Michael Bedward <michael.bedw...@gmail.com> wrote: > On 12 July 2011 04:05, Andrea Aime <andrea.a...@geo-solutions.it> wrote: >> Btw, I was not aware that the rendering code was supposed to work without >> JAI around. > > Mmm... Unreliable memory is one of the first signs of age creeping up > on you (I should know). > > We (Jody, you and me) have talked about this several times since the > Sydney FOSS4G, but not for a while. I remember that when I was first > trying to avoid the JAI requirement for the Quickstart app (rendering > a shapefile) you suggested that since pure-java JAI can be downloaded > via maven there was no need to worry about it - and after spending too > much time stuffing around with reflection hacks in the swing module I > now understand the wisdom of your advice :) > > But I'm unclear on whether some users are having problems when the JAI > jars are only in their local maven repo rather than JAI being > installed in a JRE or JDK dir ? Also Jody suggested that the JAI jars > be marked as "provided" in the GeoTools pom, but I don't understand > why.
Afaik the users are having problems because they don't have JAI in the classpath at all. The reason why we still have JAI as "provided" is that long time ago the referecing/coverage subsystem maintainer insistent that people should have JAI installed in the JRE and thus it should not be in the classpath. Nonsense if you ask me, the most common case is the opposite one, and if people install JAI in the JRE/JDK and can trust it to always be there in face of java upgrades and the like they can simply remove it from the classpath. My 2 cents: have JAI become a normal dependency and show people how to exclude it in the unlikely case they can guarantee it will be always available in the runtime Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users