[postgis-devel] Re: jar in repository
Markus Schaber
schabi at logix-tt.com
Wed Sep 27 04:10:32 PDT 2006
Hi, Mark-Cave,
Mark Cave-Ayland wrote:
> With respect to the Win32 installer, which parts of the Java code do you
> feel should be included? I'm happy to include the main JDBC driver but
> it seems a bit excessive to include the EJB files. As strk suggests,
> perhaps it may be worth spinning the Java files out into a separate
> project so we could point users to download the EJB JARs from the
> PostGIS site if they require it?
The postgis.jar file and the postgis_jts.jar file from java/jdbc/ are
the ones interesting for deployment of java applications.
The *_debug.jar versions are build with debugging symbols on, and
contain the source additionally, so they're not of much interest for end
users.
The ejb2 and ejb3 parts are merely skeletons / examples that have to be
adopted and extended for actual applications, so I doubt their binaries
are of any use. And, additionally, the burdens for compiling them are
relatively high (needing jboss, hibernate etc.).
So, for packagers / installer maintainers, I'd recommend to leave them
off, or pack the sources of the complete java/ directory into a separate
-dev package.
AFAICs, the debian people already have three packages:
http://packages.debian.org/cgi-bin/search_packages.pl?keywords=postgis&searchon=names&subword=1&version=all&release=all
Package libpostgis-java (the postgis and postgis_debug.jar)
Package postgis (common files, loader, dumper, docs)
Package postgresql-8.1-postgis (PostgreSQL-specific .so and .sql files)
Maybe that could be used as an example for other target platforms.
Thanks,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
More information about the postgis-devel
mailing list