Porting Eclipse 4.11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Porting Eclipse 4.11

Jonathan Chen
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 <[hidden email]>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "[hidden email]"