VanIngen, Erik (ESTG) ha scritto: > Ciao Andrea and everyone, > > Thank you for your quick resons! > > What could be the solution for the subsequent error (after running mvn > install -Dmaven.test.skip=true)? > > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > C:\workspaces\wtp154\geoserver\gt\modules\library\render\src\main\java\org\ge > oto > ols\legend\Glyph.java:[19,45] package com.sun.media.jai.codec.PNGEncodeParam > doe > s not exist
Oh hum, this one is strange... this happens because you don't have jai image i/o in your classpath, but I thought image i/o dependencies were added to every module that needed them. Apparently not.... Oh, checked, turned out to be an unused import in that class, I've removed it (you can upgrade). Unfortunately I don't have a java 5 install without jai image i/o included within (the usual way is to have it installed in the jdk, since it's an extension) to test. Look, the story goes on like this. We used to have a requirement to have jai and jai image i/o installed in your jdk in order to compile geotools. We tried to remove this requirement in 2.4.x onwards by adding the pure java part of jai as a jar dependency, but the reality is that everybody of us still has jdks with full jai installed, so nobody is really noticing errors like this one. Justin, any chance the new continuum can use a java 5 without jai included so that we have a line of defense against these problems? Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
