From owner-freebsd-java@FreeBSD.ORG Fri Apr 1 03:06:09 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C92A16A4CE for ; Fri, 1 Apr 2005 03:06:09 +0000 (GMT) Received: from pd3mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B4C943D2D for ; Fri, 1 Apr 2005 03:06:09 +0000 (GMT) (envelope-from alex@varju.ca) Received: from pd3mr4so.prod.shaw.ca (pd3mr4so-qfe3.prod.shaw.ca [10.0.141.180]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IE800MEBZ8L0KXX@l-daemon> for freebsd-java@freebsd.org; Thu, 31 Mar 2005 20:05:09 -0700 (MST) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd3mr4so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IE8009NJZ8LYL50@pd3mr4so.prod.shaw.ca> for freebsd-java@freebsd.org; Thu, 31 Mar 2005 20:05:09 -0700 (MST) Received: from alex.varju.ca (S010600095beeacbb.vc.shawcable.net [24.83.194.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IE800F0YZ8LBN@l-daemon> for freebsd-java@freebsd.org; Thu, 31 Mar 2005 20:05:09 -0700 (MST) Received: from localhost ([127.0.0.1]) by alex.varju.ca with esmtp freebsd-java@freebsd.org; Thu, 31 Mar 2005 19:05:08 -0800 Date: Thu, 31 Mar 2005 19:05:08 -0800 From: Alex Varju In-reply-to: <424C5C2A.9080407@spymac.com> To: java Message-id: <424CBA64.4040404@varju.ca> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-15 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <424490CD.9080203@chuckr.org> <4246D3C5.5060303@ebs.gr> <4246FE33.2090608@webct.com> <4248801D.7070405@webct.com> <42489BD2.40504@varju.ca> <424BA422.8070803@varju.ca> <424C5C2A.9080407@spymac.com> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050325) Subject: Re: eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 03:06:09 -0000 Bruno Van Den Bossche wrote: > Some little remarks: > > In patch-build.xml you're using the linux-sun-jdk lib-dir. Is tehre a > special reason for this? It seems to work just fine (well almost, see > below) with the native jdk, so I see no real reason to do this. > > + > > I don't have a linux-jdk installed anymore, else I probably never would > have noticed :) The build failure you quote below is the reason that I'm using the 1.4.2 libraries here. Eclipse does part of the build using their JDTCompilerAdapter, which only supports Java 1.4. Apparently Java 1.5 allows subclasses to refine a method's return type, and this feature is used withing the core libraries. JDTCompilerAdapter fails to compile FeatureWriter because of this. Until Eclipse supports native 1.5 builds, I'm not sure that there's anything we can do to improve things. > > 2) in patch-build with all the if's > [ "$os-$ws-$arch" = "hpux-motif-ia64" ] > > You left the last "]" out of there. (doesn't prevent it from working > though) Whoops. I'll correct that as soon as I get a chance. Alex.