Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2019 10:34:12 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-eclipse@freebsd.org
Subject:   Porting Eclipse 4.11
Message-ID:  <CAJuc1zMiH%2B7kEA7hSHF=MxcRhO7egyb7o31FF3ZKubagvvKFAw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMiH%2B7kEA7hSHF=MxcRhO7egyb7o31FF3ZKubagvvKFAw>