Andrea Aime ha scritto:
> Simone Giannecchini ha scritto:
>> Mmmh,
>> I do not manage to reproduce the failure for the moment.
> 
> Simone, it's the third day in a row I cannot build GeoTools
> trunk. Mind if I revert your change? It's this one:

Btw, debugging through the code that checks for the JAI
version (to decide whether to apply a workaround for faulty
behavior, right?) I get:

buildVersion = 2006-09-11 17:26:34.303-0700
hack = false

I looked around a bit. In the JAI 1.1.3 I have in my Maven local
repo the javax.media.jai.buildVersion file contains:
2006-09-11 17:23:56.159-0700
and in the one I have in the JDK, jre/lib/ext, I have:
2006-09-11 17:26:34.303-0700

Notice how the minutes are different. Given that it's unlikely
that someone will get a build made the day after the release,
why don't you relax the test a little bit instead of testing
the exact minute?
Probably each platform build was made in a different minute.

Maybe use the next day. For my specific case just setting:
version113.set(  2006, 8, 12, 00, 26, 56);
makes the test pass. But for other platforms the hour and minute
could be different.
Maybe check against the next day, or the next month?
(do you know when the fix in JAI  was made? That would be a good one)


Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to