From owner-freebsd-eclipse@freebsd.org  Sat Mar  9 21:34:30 2019
Return-Path: <owner-freebsd-eclipse@freebsd.org>
Delivered-To: freebsd-eclipse@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2E861537F46
 for <freebsd-eclipse@mailman.ysv.freebsd.org>;
 Sat,  9 Mar 2019 21:34:30 +0000 (UTC)
 (envelope-from jonc@chen.org.nz)
Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com
 [IPv6:2607:f8b0:4864:20::92f])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 07C7F73D12
 for <freebsd-eclipse@freebsd.org>; Sat,  9 Mar 2019 21:34:28 +0000 (UTC)
 (envelope-from jonc@chen.org.nz)
Received: by mail-ua1-x92f.google.com with SMTP id g1so352642uae.10
 for <freebsd-eclipse@freebsd.org>; Sat, 09 Mar 2019 13:34:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=chen-org-nz.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=yqxQjItepGsPzGOCJL1sGXHpLUk4XxEElR1jxhb6+EU=;
 b=ZaPC8wc0ygGLSaznoObS29ShFZlRehOO82h3I/nn0qwAtAzeigYhedX+iAmbWjLtLl
 iouVRjMx5EGO+YysPazwL1o84sqebRc0LuEjfXX7PMZ7TpWAXZGB8WMO8HjiH2S0kXR1
 h3U+/7eUe9u5PCi6vuCxgRfObog94+FkWZJvsGSW1yPlZ9ltW/7TRSooNSdpLW3kkfSC
 HFalpXk6ZX58GZLybWsPSbUm/NmO1xLnO0qrez60nQQMh3WKOn7+PA4pmLxSawqak82S
 fY8df/UQMB8nkUMQt4Ufaz1I8Nb7PBTjRmLEDuaaQ7mQ+0Lq7j9gHScgBImv07mahS3E
 KsHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=yqxQjItepGsPzGOCJL1sGXHpLUk4XxEElR1jxhb6+EU=;
 b=Moq+C9gKIt8pBh6M/xiB1yRF54LdzxUxltUjtjXaFbt5H3RWknMHLsMOI0a4TeGUZc
 0/uk/yfNY5WdFtFp/K1WSnFsHgKvd/SlUYjRcWsHDzBcAHCJ/qtBIwbUAD3JpUl9gVWV
 tpadb56xNa3rPRzS/iE0YQDK7qdzKODZzQogj17AkyxW9EATV9tTc8metf+kqhAi3dUt
 kpessXP1SpcYpxs30CrVzzV0xkUgmxRQ5veUM5yWiutdCi1y+M2OdC2Jv7nhU56w/G75
 le3ovb2XAcnWfoV9lDgrlwyvH9XOlWm7bcNnPnE4VoEnkLm4Hcb0mR/CWR2wcqdCPOWQ
 z4gg==
X-Gm-Message-State: APjAAAXeKguxhLAwrSk3DaASR4qj4ffckP0Co3IToIQlPWzt56sKqFMA
 EzIfRLyEdXNj07DIp4tAyou5zHMyZv/qPqCjViytNiZeQ9I=
X-Google-Smtp-Source: APXvYqwR/uOp4ZxBPeaVsiS9JmvCq0LV9bU6S/yaRLUb7ujpsUMZKyEe3dFOtKdHeuNhN4RVZM7YrzEXCV3Uc8rSkWY=
X-Received: by 2002:ab0:6016:: with SMTP id j22mr12342470ual.119.1552167267941; 
 Sat, 09 Mar 2019 13:34:27 -0800 (PST)
MIME-Version: 1.0
From: Jonathan Chen <jonc@chen.org.nz>
Date: Sun, 10 Mar 2019 10:34:12 +1300
Message-ID: <CAJuc1zMiH+7kEA7hSHF=MxcRhO7egyb7o31FF3ZKubagvvKFAw@mail.gmail.com>
Subject: Porting Eclipse 4.11
To: freebsd-eclipse@freebsd.org
Content-Type: text/plain; charset="UTF-8"
X-Rspamd-Queue-Id: 07C7F73D12
X-Spamd-Bar: ------
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623
 header.b=ZaPC8wc0
X-Spamd-Result: default: False [-6.16 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-eclipse@freebsd.org];
 TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1];
 DMARC_NA(0.00)[chen.org.nz];
 DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+];
 MX_GOOD(-0.01)[alt1.aspmx.l.google.com];
 RCVD_IN_DNSWL_NONE(0.00)[f.2.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org
 : 127.0.5.0]; NEURAL_HAM_SHORT(-0.90)[-0.903,0];
 R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 RCVD_COUNT_TWO(0.00)[2];
 IP_SCORE(-2.94)[ip: (-9.87), ipnet: 2607:f8b0::/32(-2.73), asn: 15169(-2.06),
 country: US(-0.07)]
X-BeenThere: freebsd-eclipse@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps &amp;
 ports." <freebsd-eclipse.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-eclipse>, 
 <mailto:freebsd-eclipse-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-eclipse/>
List-Post: <mailto:freebsd-eclipse@freebsd.org>
List-Help: <mailto:freebsd-eclipse-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-eclipse>, 
 <mailto:freebsd-eclipse-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Mar 2019 21:34:31 -0000

Hi,

I'm not sure whether there's anyone on this list anymore, but if
there's anyone able to help I'd appreciate it.

I'm attempting to port the upcoming Eclipse 4.11 (code-named 2019-3)
to FreeBSD. My efforts are available on:
  https://github.com/daemonblade/freebsd-eclipse

I've brought over the most of the patches from the 4.6 port, and have
made most of the obvious changes. Currently the port builds 220/485
modules. It currently fails on:
[INFO] Building org.eclipse.e4.ui.swt.gtk 1.0.500-SNAPSHOT            [221/485]
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:1.3.0:compile
(default-compile) on project org.eclipse.e4.ui.swt.gtk: Compilation
failure
: Compilation failure:
[ERROR] /home/jonc/work/ports/freebsd-eclipse/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/src/org/eclipse/e4/ui/swt
/internal/gtk/DarkThemeProcessor.java:[23]
[ERROR]     import org.eclipse.swt.internal.gtk.OS;
[ERROR]            ^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt cannot be resolved
[ERROR] /home/jonc/work/ports/freebsd-eclipse/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/src/org/eclipse/e4/ui/swt
/internal/gtk/DarkThemeProcessor.java:[24]
[ERROR]     import org.eclipse.swt.widgets.Display;
[ERROR]            ^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt cannot be resolved
[ERROR] /home/jonc/work/ports/freebsd-eclipse/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/src/org/eclipse/e4/ui/swt
/internal/gtk/DarkThemeProcessor.java:[44]
[ERROR]     Display display = (Display)
event.getProperty(IThemeEngine.Events.DEVICE);
[ERROR]     ^^^^^^^
[ERROR] Display cannot be resolved to a type
[ERROR] /home/jonc/work/ports/freebsd-eclipse/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/src/org/eclipse/e4/ui/swt
/internal/gtk/DarkThemeProcessor.java:[44]
[ERROR]     Display display = (Display)
event.getProperty(IThemeEngine.Events.DEVICE);
[ERROR]                        ^^^^^^^
[ERROR] Display cannot be resolved to a type
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]

I can't seem to determine why the module isn't recognising the
completed org.eclipse.swt.gtk.freebsd.amd64 module which contains the
built classes. It's bound to some simple config line I've missed
somewhere - any help appreciated.

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>