Skip site navigation (1) Skip section navigation (2)

Re: Upgrade to 9 questions

From: Samuel Gendler <sgendler(at)ideasculptor(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Albert Kurucz <albert(dot)kurucz(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Upgrade to 9 questions
Date: 2010-10-02 05:08:04
Message-ID: AANLkTi=jPFac8WVAD_EMk2QiP2KzZkaN=TSkUky6BgvV@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
It's been a while since I looked. but isn't the driver target a dependency
for the actual compilation target?  I seem to recall that all I did when I
built it was to download it, change directory into the distribution, and
type 'ant'.  It's pretty hard to ask for a simpler build process than that,
I think.

On Fri, Oct 1, 2010 at 9:58 PM, Oliver Jowett <oliver(at)opencloud(dot)com> wrote:

> Albert Kurucz wrote:
> > Oliver,
> >
> > What command do I need to give to Ant to make the necessary
> substitutions?
>
> The slightly misleadingly named target "driver" will configure the build
> environment and do all the substitutions, but not actually compile the
> result. So: "ant driver"
>
> > Why source files are not release after preprocessing?
>
> Because the substitutions that are needed are different depending on
> your build environment e.g. which JDBC version and JDK you are building
> for. The ant buildfile handles both detecting your build environment and
> performing suitable substitutions. Releasing multiple source
> distributions, each of which only works for one environment, where the
> only difference is in the 3-4 templated files - that'd be confusing and
> unnecessary when the build process already handles it, don't you think?
>
> > Java source files please for the non Ant users!
>
> I don't think we really support building the driver except via ant, it
> is something of a de-facto standard for building Java these days. (Ok,
> now the Maven people are going to yell at me ;-))
>
> Consider it a prerequisite for building the driver, just like having a
> functional JDK installed is a prerequisite.
>
> -O
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Responses

pgsql-jdbc by date

Next:From: Oliver JowettDate: 2010-10-02 05:10:47
Subject: Re: Upgrade to 9 questions
Previous:From: Samuel GendlerDate: 2010-10-02 05:03:33
Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group