Using Fedora Linux 36, Modelio 5.1 plugin build ends with errors
Prior to using using Fedora Linux 36, Modelio 4.x worked nice. After upgrading to Fedora 36, it stopped working with a reference to a .log file. Then I find out I have to use Modelio 5.1 from GItHub and try build it myself, starting with the plugins.
Prequisits: Eclipse (Eclipse IDE for RCP and RAP Developers (includes Incubating components) Version: 2022-09 (4.25.0) Build id: 20220908-1902), Maven 3.6.0 and Java 1.8 and get many errors like this:
Description Resource Path Location Type AbstractCellEditor cannot be resolved to a type CheckBoxCellEditor.java /platform.model.ui/src/org/modelio/platform/model/ui/nattable/parts/data/bool line 41 Java Problem
When I proceed with running Modelio anyway, I get errors I can't copy in here but they "exist in required project(s)".
So how can I get Modelio to build correctly?
Thank you
Supporting. I used different Eclipse and Maven versions and tried to build version 5.1, but I also see errors in several projects. Also when I open this rcp.target thing as written in the manual all the plugin folders are recognized and amount of found plugins is shown, but one of them is not. And this folder is ${project_loc:/pack-resources}/openjdk-jre8. Why is it not recognized? Because it's not there! Unlike other folders, this one doesn't exist! As for the errors, one of them looks like "InputSource cannot be resolved to a type" for the reason that one of the imported classes is accessible from more than one module. All this means that the code you provided in the release is defective and cannot be built and thus can't be the code of the release. Are you cheating your users? Pretending the program to be open source while actually adding something?
After a 3 days of trying and searching, I've found a work-around.
I managed to find an rpm version for RedHat 8,0, which I installed. That didn't work either but it did give a notice about a log file. In this log file, it became clear that some (Java-?)font was missing. Well, not quite: it was there, just not the required version. Looking further, I found the final solution: use "ln -s" to create a softlink to the font file (only once, of course). After that, I have to PRELOAD the font-file, then start Modelio, so like this: "LD_PRELOAD=/usr/lib/libfreetype.so.6 modelio-open-source5.1".
I can't tell if this work-around works for everyone. Apart from this, the build-procedure really doesn't work for me (and others, clearly)