From owner-freebsd-java@FreeBSD.ORG Fri Apr 1 22:53:49 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 62E7A16A50C for ; Fri, 1 Apr 2005 22:53:49 +0000 (GMT) Received: from outmx007.isp.belgacom.be (outmx007.isp.belgacom.be [195.238.3.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F4D43D5D for ; Fri, 1 Apr 2005 22:53:48 +0000 (GMT) (envelope-from brvdboss@spymac.com) Received: from outmx007.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id j31MreVL001261 for ; Sat, 2 Apr 2005 00:53:40 +0200 (envelope-from ) Received: from [10.0.0.42] (245.125-200-80.adsl.skynet.be [80.200.125.245]) with ESMTP id j31Mrc3L001248 for ; Sat, 2 Apr 2005 00:53:39 +0200 (envelope-from ) Message-ID: <424DD0FA.1070003@spymac.com> Date: Sat, 02 Apr 2005 00:53:46 +0200 From: Bruno Van Den Bossche Organization: Me, Myself & I User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050328) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: java 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> <424CBA64.4040404@varju.ca> In-Reply-To: <424CBA64.4040404@varju.ca> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: brvdboss@spymac.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 22:53:49 -0000 Alex Varju wrote: > 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. Ah, I see. I'm not really familiar with the eclipse build-structure. > Until Eclipse supports native 1.5 builds, I'm not sure that there's > anything we can do to improve things. I've been staring a bit at it but can't really come up with a solution. The naïve me assumed the specified "target" and "source" options would be taking care of issues like that. I did check to make sure they are set to appropriate values everywhere, which seems to be the case. Doing that pde.build-part manually and continuing the build (without cleaning first ofcourse) seems to get me a working eclipse though. However that doesn't seem to be a decent path for a workaround though. Still, I'm very glad you got the port working :) Bruno