From: Oliver Jowett <oliver@opencloud.com>
To: Albert Kurucz <albert.kurucz@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Upgrade to 9 questions
Date: Sat, 02 Oct 2010 17:58:53 +1300
Message-ID: <4CA6BC0D.8070607@opencloud.com> (raw)
In-Reply-To: <AANLkTinS2spUPq029Rf-YK86yd_OsfymXY848+Av53TD@mail.gmail.com>
References: <AANLkTimZMBWZ+Xx_GstRz+kp6oEKg-zzs7zpf=WOCu=K@mail.gmail.com>
<AANLkTi=Z-go6fXUrAUN=guUk9rihyZz0dW3YWVtLXyTG@mail.gmail.com>
<AANLkTinToR=Tv27KoJBV1zM2XJnj=bksrKijMnbwtSWV@mail.gmail.com>
<4CA69A30.5090300@opencloud.com>
<AANLkTinS2spUPq029Rf-YK86yd_OsfymXY848+Av53TD@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, albert.kurucz@gmail.com
Subject: Re: Upgrade to 9 questions
In-Reply-To: <4CA6BC0D.8070607@opencloud.com>
References: <AANLkTimZMBWZ+Xx_GstRz+kp6oEKg-zzs7zpf=WOCu=K@mail.gmail.com> <AANLkTi=Z-go6fXUrAUN=guUk9rihyZz0dW3YWVtLXyTG@mail.gmail.com> <AANLkTinToR=Tv27KoJBV1zM2XJnj=bksrKijMnbwtSWV@mail.gmail.com> <4CA69A30.5090300@opencloud.com> <AANLkTinS2spUPq029Rf-YK86yd_OsfymXY848+Av53TD@mail.gmail.com> <4CA6BC0D.8070607@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox