WarpTransformTest failure under OSX with pure-Java JAI
------------------------------------------------------
Key: GEOT-3823
URL: https://jira.codehaus.org/browse/GEOT-3823
Project: GeoTools
Issue Type: Bug
Components: coverage
Affects Versions: 8.0-M1
Reporter: Michael Bedward
Assignee: Simone Giannecchini
Priority: Minor
On OSX 10.6, the WarpTransformTest methods testAffine and testQuadratic fail if
JAI is not locally installed, ie. the calculations in these tests return
incorrect values when using the pure-Java JAI jars in the maven repo.
JAI is bundled with OSX but it is installed into the default JDK. Recently,
Apple separated the developer JDK (includes javadocs and sources and now
installed in /Library...) from the default JDK (installed in
/System/Library...). When building with the developer JDK, the default JAI is
not found resulting in the test failures.
The easiest solution seems to be to install the following jars into
~/Library/Java/Extensions :
clibwrapper_jiio.jar
jai_codec.jar
jai_core.jar
jai_imageio.jar
mlibwrapper_jai.jar
JAI is then found when working with any JDK.
Ideally, the tests should pass with just the JAI jars in the maven repo.
However, I suspect it would be a hopeless task working out why this isn't the
case on OSX.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel