On Fri, Apr 8, 2011 at 10:55 AM, Michael Bedward
<[email protected]> wrote:
> Hi Anders,
>
> Glad to hear that you got it working. So it seems that the
> load-only-when-required code in gt-swing has been undone by the
> gt-render module... curses :)
>
>> I think it would be good if jai was only optional as in 2.6 and not
>> required by geotools, then geotools runs on more platforms and is
>> easier to distribute.
>
> I'm not sure that this be easy or even supported by all of the
> GeoTools developers. JAI has tended to seep into many areas of the
> library directly and indirectly. As your example shows, an effort to
> make it optional in one module is easily cancelled out by changes
> elsewhere.
>
> As to platforms, JAI in its pure Java form should run on any hardware
> / OS for which there is a JRE available. It's true that native
> libraries required for acceleration are not available on all
> platforms. And on OSX (at least) I've had to disable acceleration to
> have some operations work properly (e.g. floating point convolution).
>
> However, I agree it's not ideal to require JAI for applications that
> don't raster data support. Any suggestions for how to do things better
> are welcome.

As far as I remember the build server does not have JAI installed in the
JRE.
Add a module with junit tests that are supposed to pass even if JAI
is not available (of course the module won't have any direct or indirect
JAI dependency)

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

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

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to