Hey Jody, This is apparently known---I ran into it last week. Gt2 does not build with Java 6 (and docs only build with Java6). Yet another reason Martin wanted to clean, and clean and clean.
--adrian On Sun, 2008-11-09 at 21:50 -0600, Jody Garnett (JIRA) wrote: > ScriptTest failure on Linux w/ Java 6 > ------------------------------------- > > Key: GEOT-2144 > URL: http://jira.codehaus.org/browse/GEOT-2144 > Project: GeoTools > Issue Type: Bug > Components: core referencing > Environment: Maven version: 2.0.9 > Java version: 1.6.0_10 > OS name: "linux" version: "2.6.27-7-generic" arch: "i386" Family: "unix" > Reporter: Jody Garnett > Assignee: Martin Desruisseaux > Fix For: 2.6-M0 > > > This is my first chance to try building on linux in years; after battling > with dependency trouble I am now down to sorting out compile errors. > > Test set: org.geotools.referencing.ScriptTest > ------------------------------------------------------------------------------- > Tests run: 16, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 0.842 sec > <<< FAILURE! > testStereographic(org.geotools.referencing.ScriptTest) Time elapsed: 0.043 > sec <<< ERROR! > org.opengis.referencing.operation.TransformException: Transformation doesn't > produce the expected values. > ... > testOrthographic(org.geotools.referencing.ScriptTest) Time elapsed: 0.019 > sec <<< ERROR! > org.geotools.referencing.operation.projection.ProjectionException: The > transform result may be 1,943,446.412 mete > rs away from the expected position. Are you sure that the input coordinates > are inside this map projection area o > f validity? The point is located 270°00.0'W away from the central meridian > and 40°47.0'S away from the latitude o > f origin. The projection is "Orthographic". > at > org.geotools.referencing.operation.projection.MapProjection.checkReciprocal(MapProjection.java:630) > at > org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:821) > at > org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:855) > at > org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.jav > a:256) > at org.geotools.referencing.Console.test(Console.java:602) > at org.geotools.referencing.ScriptRunner.test(ScriptRunner.java:61) > > > Is this one of those cases where Java 5 handles things differently? > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel