From owner-freebsd-eclipse@FreeBSD.ORG Thu Oct 18 03:33:47 2007 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD10F16A417 for ; Thu, 18 Oct 2007 03:33:47 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from ns.tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3BE3E13C46A for ; Thu, 18 Oct 2007 03:33:47 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by ns.tydfam.jp (8.14.1/8.14.1) with ESMTP id l9I3E37R095294; Thu, 18 Oct 2007 12:14:03 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Thu, 18 Oct 2007 12:15:18 +0900 (JST) Message-Id: <20071018.121518.13767124.ken@tydfam.jp> To: mbowie@buzmo.com From: Ken Yamada In-Reply-To: <47163C8E.2000601@buzmo.com> References: <20071017034158.GA20584@misty.eyesbeyond.com> <47159CBE.5090209@buzmo.com> <47163C8E.2000601@buzmo.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91/4545/Thu Oct 18 06:05:57 2007 on ns.tydfam.jp X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on ns.tydfam.jp Cc: freebsd-eclipse@freebsd.org Subject: Re: Eclipse 3.3.1 build X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 03:33:47 -0000 From: Mike Bowie > One caveat I failed to mention, is that 3.3.1 doesn't build with jdk1.5 > so far. The instructions indicate that it should, but Ken hasn't had > any success as far as I know and I've not looked at it. In the instruction.html, it says; QUOTE 3. For the platforms were JDK 1.6 support is not yet available e.g linux-gtk-s390, linux-gtk-s390x the Eclipse SDK can be built with JDK 1.5 in place JDK 1.6. To do that, please follow the following steps: * Edit the file build.xml: replacing the tags with and with * Remove code which compile and package the plugins that require JDK 1.6 currently: org.eclipse.jdt.compiler.tool, org.eclipse.jdt.compiler.apt and org.eclipse.jdt.apt.pluggable.core from the files features/org.eclipse.jdt/feature.xml and features/org.eclipse.jdt/feature.xml. UNQUOTE I am not sure if we pursue compilation with jdk15 from the following three points. a) jdk16 is available on FreeBSD (incl. -current) b) eclipse eliminated java5home argument in build script with 3.3.0 which disabled jdk selection. c) There are binary incompatibility between jdk15 and jdk16. jdk15 compiled eclipse-europe may cause problems with plugins compiled with jdk16. (jdk16 compiled one cannot run with jdk15, but the other way is OK). If the instruction tells all, addition of jdk15 compilation will be; a) add 'java5home' argument to build script (back to 3.2.2) b) rewrite two build.xml(build.xml and features/org.eclipse.jdt/features.xml) so that they conditionally branch by java5home/JAVA_HOME. Ant is not my good friend yet, and I am not sure if it is easy or not.