Closed Phillipus closed 3 years ago
There is a blocker to updating to Eclipse 4.17 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=566701
Basically, some of Eclipse 4.17's plug-ins specify a minimum of Java 11 to run. These plug-ins are used by Archi. However, Eclipse Product Export fails if any plug-in is set to use Java 11. (Product Export is what we use to export and build Archi's binaries.)
If this Eclipse issue is not resolved it will mean:
Note to self:
Archi.ini has this:
-vm
../jre/lib/jli/libjli.dylib
This also works:
-vm
../jre/bin
The Eclipse Oomph installer has it's own bundled JRE and:
-vm
../Eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.minimal.stripped.macosx.x86_64_14.0.2.v20200815-0932/jre/lib/libjli.dylib
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565913#c43 and replies.
We may need Eclipse 4.17 and:
-vm
../jre/bin/java
I downloaded MacOS Big Sur Public Beta 5 (20A5384c) and tested Archi 4.7.1 and an internal version built with Eclipse 4.17.
Both versions launch OK. No need to change anything with the -vm
settings.
But it crashes randomly. Sometimes you cannot open a diagram at all without a total crash. The thumbnail view will crash it every time. The Palette is not drawn properly sometimes.
Basically, it's unusable.
I also tested Eclipe 4.17 itself to see how it handles diagrams that are created with the Eclipse Sirius project which is based on GEF/Draw2d/GMF (the Ecore Editor). Cannot open a digram at all (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=567722)
I suspect this is coming from Eclipse SWT.
As it stands Archi will not be usable on Big Sur if it is released like this.
Slightly better news.
It's our friend, the old Thumbnail bug #401 again! But this time it totally crashes,
I've added some more workarounds to the Thumbnail view so at least it doesn't completely crash.
Better news:
MacOS Big Sur 11.0.1 beta was released today and I tested Archi. There is no longer the crash when using the thumbnail view and there seems to be general overall improvements. But there are still many graphical issues.
Another couple of issues:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=565556
https://bugs.eclipse.org/bugs/show_bug.cgi?id=567389
Might be better to wait until Eclipse 4.18 is released (16 December)
Might be better to wait until Eclipse 4.18 is released (16 December)
Yes.
After several more days of testing and trial error, Eclipse 4.18 (attempts) to fix more issues than 4.17 on Mac.
(Mac - 10% of Archi users, 90% of my time).
Might be better to wait until Eclipse 4.18 is released (16 December)
Yes, but there is a deal-breaker on Linux hi-res displays:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=568407
Edit - that bug is mostly fixed.
Another bug. This time a crasher:
Opening this issue to track this.
Archi 4.7.1 will probably not work on MacOS Big Sur 11. There are a number of Eclipse / Java issues that need to be resolved. Here are some I've found:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=565691
https://bugs.eclipse.org/bugs/show_bug.cgi?id=565913
https://bugs.eclipse.org/bugs/show_bug.cgi?id=566602
https://bugs.eclipse.org/bugs/show_bug.cgi?id=566014
If the Eclipse issues are fixed we might be able to create an Archi build for Big Sur but it will mean that we have to update to a later version of Eclipse (4.17 or 4.18). This will likely break a bunch of other things on other platforms as well.