[postgis-devel] Java2D and JTS support
Markus Schaber
schabi at logix-tt.com
Fri Oct 21 05:42:31 PDT 2005
Hi, Gustavo,
Gustavo Henrique Sberze Ribas wrote:
>>One problem is that the SUN collection framework does not allow us to
>>use primitive types (like int) to be used as HashMap keys.
>>For efficient implementation, I would prefer to use the LGPLed GNU Trove4j
>>framework. However, this would either add another build depencency, or burden us
>>with the need to maintain our own copy of the Trove code. What do you
>>think about it?
>
> Seems like a sound approach. I'd go for the build dependency, it's not really
> a big thing - for developers are used to have several auxiliary libraries
> in their projects. Nowadays one can't even write a HelloWorld application without
> using log4j, junit and a renderer to output in XML. ;)
I'm afraid you're right :-)
There are even some java projects that have their dependency jar files
included in the CVS or declared as SVN:external so every developer
automagically gets known-to-work releases of those external projects
when checking out from the repository. I think it is very comfortable,
but I also think that redistributing binary 3rd party modules is not the
task of CVS.
Nevertheless, I checked in a version that depends on having a current
trove.jar in the build path if you build the JTS module. And I just
noticed that I should add this fact to the documentation...
Markus
More information about the postgis-devel
mailing list