[Geoserver-devel] Geoserver build from source error - kml2

This is the detail from the log file:

testHeightTemplate(org.geoserver.kml.KMLReflectorTest) Time elapsed: 221
sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...,-0.0018,101.0
0.001[0],-6.0E-4,101.0 0.002...> but was:<...,-0.0018,101.0
0.001,-6.0E-4,101.0 0.002...>

testHeightTemplateNoExtrude(org.geoserver.kml.KMLReflectorTest) Time
elapsed: 238 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...,-0.0018,101.0
0.001[0],-6.0E-4,101.0 0.002...> but was:<...,-0.0018,101.0
0.001,-6.0E-4,101.0 0.002...>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-build-from-source-error-kml2-tp5064735p5065085.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Please file a Jira issue if you can. At the least, what version are you building? git master? And what is your platform (mvn -version)?

Looks like you have some excess precision.

Kind regards,
Ben.

On 09/07/13 23:14, m.aliakbarian wrote:

This is the detail from the log file:

testHeightTemplate(org.geoserver.kml.KMLReflectorTest) Time elapsed: 221
sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...,-0.0018,101.0
0.001[0],-6.0E-4,101.0 0.002...> but was:<...,-0.0018,101.0
0.001,-6.0E-4,101.0 0.002...>

testHeightTemplateNoExtrude(org.geoserver.kml.KMLReflectorTest) Time
elapsed: 238 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...,-0.0018,101.0
0.001[0],-6.0E-4,101.0 0.002...> but was:<...,-0.0018,101.0
0.001,-6.0E-4,101.0 0.002...>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-build-from-source-error-kml2-tp5064735p5065085.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

On Wed, Jul 10, 2013 at 4:31 AM, Ben Caradoc-Davies <
Ben.Caradoc-Davies@anonymised.com> wrote:

Please file a Jira issue if you can. At the least, what version are you
building? git master? And what is your platform (mvn -version)?

Since we are using the JDK own JAXB, I guess a difference in version/vendor
of the JDK
might cause that issue.
The test should probably try to parse the coordinate and do some double
comparison, instead of
going for the easier string comparison.
At the same time, officially we don't support anything but Sun/Oracle JDK 6
so... (mind, not
against supporting officially JDK 7 too, but I don't want to be left alone
trying to).

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

@Ben:
Thanks for your suggestion, I was on my way to post an issue on JIRA when I
have found the answer by Andrea.
@Andrea:
Thanks for your guiding answer. I had OpenJDK7, changed to JDK6 and it works
now.
Thanks.

Best Regards,
MaysaM

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-build-from-source-error-kml2-tp5064735p5065468.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

I could not find the Jira you reported?

And have created one here: http://jira.codehaus.org/browse/GEOS-5973

And have reported the problem to JAK: http://code.google.com/p/javaapiforkml/issues/detail?id=45

···

On Thu, Jul 11, 2013 at 1:45 AM, m.aliakbarian <m.aliakbarian@anonymised.com…> wrote:

@Ben:
Thanks for your suggestion, I was on my way to post an issue on JIRA when I
have found the answer by Andrea.
@Andrea:
Thanks for your guiding answer. I had OpenJDK7, changed to JDK6 and it works
now.
Thanks.

Best Regards,
MaysaM


View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-build-from-source-error-kml2-tp5064735p5065468.html

Sent from the GeoServer - Dev mailing list archive at Nabble.com.


See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel