Unix Technical Forum

Re: gcj has a lot of complaints about 8.1-405 release

This is a discussion on Re: gcj has a lot of complaints about 8.1-405 release within the pgsql Interfaces jdbc forums, part of the PostgreSQL category; --> On Tue, 28 Mar 2006, Kris Jurka wrote: > > > On Mon, 27 Mar 2006, Tom Lane wrote: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces jdbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 04-16-2008, 12:00 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: gcj has a lot of complaints about 8.1-405 release

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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 04-16-2008, 12:04 AM
Kris Jurka
 
Posts: n/a
Default Re: gcj has a lot of complaints about 8.1-405 release



On Thu, 30 Mar 2006, Heikki Linnakangas wrote:

> How about java.specification.version? AFAIK, it should do just what we
> need.
>


Indeed it does, I've put this into our build.xml along with an explicit
failure message when someone tries a JDK1.6 compile.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 04-16-2008, 12:04 AM
Clemens Eisserer
 
Posts: n/a
Default Re: gcj has a lot of complaints about 8.1-405 release

I am also really excited about GCJ/Classpath support, since this would
allow users to use postgres from java applications without relying on
proprietary software.

Just because of interrest, has anybody successfully used the jdbc
driver with gnu-classpath based JVMs?

Thanks, lg Clemens

2006/4/29, Kris Jurka <books@ejurka.com>:
>
>
> On Thu, 30 Mar 2006, Heikki Linnakangas wrote:
>
> > How about java.specification.version? AFAIK, it should do just what we
> > need.
> >

>
> Indeed it does, I've put this into our build.xml along with an explicit
> failure message when someone tries a JDK1.6 compile.
>
> Kris Jurka
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:44 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com