From owner-freebsd-eclipse@FreeBSD.ORG Thu Jul 25 15:00:34 2013 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D82DB2A for ; Thu, 25 Jul 2013 15:00:34 +0000 (UTC) (envelope-from gnn@freebsd.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 096412D3A for ; Thu, 25 Jul 2013 15:00:33 +0000 (UTC) Received: from [209.249.190.124] (port=56487 helo=dhcp-10-2-212-109.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1V2N1p-000136-Bg; Thu, 25 Jul 2013 11:00:30 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Upgrading java/eclipse and java/eclipse-devel From: George Neville-Neil In-Reply-To: <51F0DAC4.3010905@gmx.de> Date: Thu, 25 Jul 2013 11:00:26 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <7CE95F4F-6F18-4A04-AC5C-3B5198C89EFA@freebsd.org> References: <0F5A2320-D5E0-4008-A065-E27959D54AA7@neville-neil.com> <51F0B78F.2030908@gmail.com> <51F0DAC4.3010905@gmx.de> To: Thomas Gellekum X-Mailer: Apple Mail (2.1508) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: kron , freebsd-eclipse@freebsd.org X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.14 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, 25 Jul 2013 15:00:34 -0000 On Jul 25, 2013, at 3:59 , Thomas Gellekum = wrote: > On 07/25/13 07:28, kron wrote: >> On 2013/07/24 23:03, George Neville-Neil wrote: >>> Howdy, >>>=20 >>> Eclipse 4.2, which we have in java/eclipse-devel has been out for >>> over a year and Eclipse 4.3 is "nearly done" as far as anyone can >>> tell. >=20 > It's been out for a few weeks now. >=20 >>> I'd like to propose that we copy the devel port to the normal >>> port, and then do two things. First I'd like to get Eclipse 4.2 >>> working with openjdk7. RIght now the build fails but that was just = a >>> naive attempt to build the port with the new jdk. >=20 > AFAIR, the problem lies with some of the 3rd party libraries (in > ECLIPSE_*_BUNDLES) that were pre-built with a 1.4 or 1.5 JDK and miss > necessary type info for some of the APIs that use generics. We could > probably add ports for all those libraries and add appropriate OSGi > headers to their manifests. This would also allow us to get rid of = some > of the patches to the manifest files which are a PITA to maintain. = This > could happen one library at a time, so it wouldn't have to be a > disruptive process. IIRC, the problematic libraries are the sat4j > bundles, so we'd start with those. >=20 > Handling the versions requires some care, though, as different = versions > of Eclipse depend on different versions of those bundles. >=20 > There might be an alternative: Kepler is supposed to be built with = JDK7, > so check for updates in those bundles. This sounds cheaper in the = short > term, but maintaing those patches is a major cost in the longer run. >=20 >>> Secondly we can >>> mark eclipse-devel broken until we can start getting 4.3 running in >>> that port. >=20 > Kepler (4.3) looks like it is going to be a major effort. I've only > briefly checked the linuxtools.eclipse-build repo, but it seems = they've > abandoned the Ant based build and switched completely to Tycho, which = is > a Maven plugin. In theory, this should make things easier for us, too, > but we don't have Tycho yet. >=20 > Last time I looked at that, you needed a P2 repository from an Eclipse > installation to build it, so bootstrapping is going to be an issue. I > stopped digging further when I realized how much work it would be to > provide a clean environment for building. Maven likes to load oodles = of > stuff from outside. Keeping that under control is not going to be much = fun. OK, well I am a newbie when it comes to building this stuff. I am a new = user of Eclipse and I want ours to be top notch, hence my wanting to help with this. = Right now I'm just trying to get the current 4.2 to build with 1.7 jdk. The openjdk7 = stuff seems OK so at least that's working as a base to work on. If you have notes on what you've done before, or anyone else has such = notes, that would be most welcome. I guess we could coordinate through the FreeBSD Wiki if folks all have = logins. Does that make sense? Best, George