From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Kris Jurka <books@ejurka.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgreSQL.org
Subject: Re: gcj has a lot of complaints about 8.1-405 release
Date: Thu, 30 Mar 2006 21:06:44 +0300 (EEST)
Message-ID: <Pine.OSF.4.61.0603302102480.228269@kosh.hut.fi> (raw)
In-Reply-To: <Pine.BSO.4.63.0603281529550.189@leary.csoft.net>
References: <17770.1143496710@sss.pgh.pa.us>
<3FCF10DA-5DCD-402A-8148-9B559A02D9FB@fastcrypt.com>
<24454.1143498854@sss.pgh.pa.us>
<Pine.BSO.4.63.0603271756001.21311@leary.csoft.net>
<24982.1143502339@sss.pgh.pa.us>
<26389.1143515394@sss.pgh.pa.us>
<Pine.BSO.4.63.0603281529550.189@leary.csoft.net>
On Tue, 28 Mar 2006, Kris Jurka wrote:
>
>
> On Mon, 27 Mar 2006, Tom Lane wrote:
>
>> BTW, one Red Hatter had this to say:
>>
>>> Yeah, AFAIAC this is a bug in ant. Really, the build file should be using
>>> ${java.version} instead of ${ant.java.version} to avoid this problem,
>>> IMHO.
>>> I ran into a similar issue with the Eclipse SDK.
>>
>
> The difference is that java.version will return things like 1.4.2_08 instead
> of just 1.4, so they are not equivalent. ant doesn't offer a lot of tools to
> parse such a string, the best you could do would be a global substring match.
> Trying to find 1.4 would match 1.1.4 as well as 1.4.2 though. Since we don't
> support 1.1 builds we could do this, but it seems a little fragile with
> perhaps other vendors using different format strings. The best solution for
> older ant users might be to duplicate the checks ant makes for
> ant.java.version in our own build file. That way we can put in the latest
> updates and not require an upgrade.
How about java.specification.version? AFAIK, it should do just what we
need.
- Heikki
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: hlinnaka@iki.fi, books@ejurka.com, pg@fastcrypt.com
Subject: Re: gcj has a lot of complaints about 8.1-405 release
In-Reply-To: <Pine.OSF.4.61.0603302102480.228269@kosh.hut.fi>
References: <17770.1143496710@sss.pgh.pa.us> <3FCF10DA-5DCD-402A-8148-9B559A02D9FB@fastcrypt.com> <24454.1143498854@sss.pgh.pa.us> <Pine.BSO.4.63.0603271756001.21311@leary.csoft.net> <24982.1143502339@sss.pgh.pa.us> <26389.1143515394@sss.pgh.pa.us> <Pine.BSO.4.63.0603281529550.189@leary.csoft.net> <Pine.OSF.4.61.0603302102480.228269@kosh.hut.fi>
* 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