Date: Sat, 02 Apr 2005 00:53:46 +0200 From: Bruno Van Den Bossche <brvdboss@spymac.com> Cc: java <freebsd-java@freebsd.org> Subject: Re: eclipse Message-ID: <424DD0FA.1070003@spymac.com> In-Reply-To: <424CBA64.4040404@varju.ca> References: <424490CD.9080203@chuckr.org> <4246D3C5.5060303@ebs.gr> <4246FE33.2090608@webct.com> <c21e92e2050327175354a8b167@mail.gmail.com> <4248801D.7070405@webct.com> <42489BD2.40504@varju.ca> <424BA422.8070803@varju.ca> <424C5C2A.9080407@spymac.com> <424CBA64.4040404@varju.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >> >> + <fileset dir="/usr/local/linux-sun-jdk1.4.2/jre/lib"> >> >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424DD0FA.1070003>