[postgis-devel] Removing JAR files from the repository (#1411)

Sandro Santilli strk at keybit.net
Thu Mar 15 04:57:43 PDT 2012


On Thu, Mar 15, 2012 at 12:49:51PM +0100, MarĂ­a Arias de Reyna wrote:

> I guess I lack the time to do it. This first half of this year is
> going very hard. Probably I will fork it somewhere waiting for better
> times.

I think it's a good idea.

> Anyway: Maven is the best (and almost only painless) way to compile
> and build Java. It's like make or ant, but handling Java dependencies.
> All those jars you see downloading are just requirements to properly
> build the components.
> 
> The ant task goes to the official repositories of Maven, download the
> environment, then the dependencies, run the build and then remove all
> the "trash" generated.
> 
> If you take a closer look, the former way to build the java components
> was downloading manually certain jars, putting them on certain paths
> and then compiling the code with ant. I just changed it so maven does
> it automatically.

I'm more concerned about the .jar file in the repository:
java/pljava/postgis_pljava.jar

I don't have any major problem with those downloaded on the fly.

Is that needed ? Can we get rid of it ?

> The most obvious dependency needed is the postgresql java driver. This
> postgis driver is an extension of that driver. You cannot compile and
> build the postgis driver without having the base postgresql driver
> (another .jar).

Is PostGIS a dependency at all ? If not it may really make sense
to put the whole java part somewhere else.

I guess I may be mixing up java/pljava and java/jdbc ...

> I posted it here because it seems that I don't have permission to add
> a comment on the tracker itself.

I'll take a look. But this is really a better place for this.

--strk; 

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-devel mailing list