Thanks for the info, so "ant driver" will create Java sources from the
How does it know which JDBC version and which JDK version I have the desire
to build for?
Is it in some config files or additional command line parameters for the
"ant driver" command or some environment variables?
Releasing multiple separate sources for different versions of a product does
not confusing me at all.
Having one source code for each target version might be more confusing.
Both ways have its own difficulties and their own benefits, and I am not
trying to switch you.
On Fri, Oct 1, 2010 at 11: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
> 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.
In response to
pgsql-jdbc by date
|Next:||From: Oliver Jowett||Date: 2010-10-03 03:10:45|
|Subject: Re: Upgrade to 9 questions|
|Previous:||From: stagirus||Date: 2010-10-02 21:03:28|
|Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)|