Open hnine999 opened 4 months ago
The previous comment would indicate that the freezing problem is due to an interaction between Eclipse and JavaFX in Linux.
I've tried a few code modifications for the RITE executable, but none have worked.
However, there is a e(fx)clipse project that could be investigated.
The main reason we didn’t integrate with E(fx)clipse is that Eclipse stopped supporting E(fx)clipse in 2018. See here. If anything arises with the integration, we may not be able to fix it.
Also, to be able to use e(fx)clipse, we would need to use Java8, which is really old. We are currently using Java 11 or 17 now. And new JavaFX features may not be available on e(fx)clipse.
Integrating Eclipse with JavaFX is a pain. See this issue #139.
Didn't realize E(fx)clipse was defunct :(
I made some different, though similar, mods, to spawn DO 127C window off as a separate process as opposed to a separate thread.
Attached. git_diff_spawn_new_process.diff.txt
Here's a page on the latest release of E(fx)clipse: https://projects.eclipse.org/projects/technology.efxclipse
Not sure about supported java versions at this point.
I just asked Chatgpt:
what versions of java are supported by e(fx)clipse?
ChatGPT
e(fx)clipse supports Java versions from Java 7 to the latest Long-Term Support (LTS) version, which is currently Java 17. However, support for Java versions can change with new releases, so it's best to refer to the official e(fx)clipse documentation or the project's GitHub repository for the most up-to-date information.
Treating this as a bug, unless we resolve whether we are going to address this for a new RITE release
This is due to an issue with JavaFX under Linux, and with Eclipse in particular.
In Linux (Ubuntu 22.04), the following modifications will get the "DO-178C Compliance Report" window to appear, though outside eclipse, and not fully functional:
Clone the RITE repo, and checkout the
dasc23
tag.Add the following to the
<RITE-repo-root>/tools/rack/pom.xml
Add the following to
<RITE-repo-root>/tools/rack/rack.plugin/pom.xml
Add the following lines to the end of the
JavaFXAppLaunchManager
class:In the
ReportViewsManager.java
:Change the beginning of the
setNewFxmlToStage
method to this:Build the linux RITE zip file with:
Unzip the
<RITE-repo-root>/tools/rack/rack.product/target/products/RITE-linux.gtk.x86_64.zip
in the directory of your choosing. Call it<RITE-app-dir>
Change to the
<RITE-app-dir>
directory:Execute the following command to make a
JavaFX
directory in the parent directory:Copy the JavaFX jar files into
../JavaFX
:Execute the following command:
The
DO-178C Compliance Report
window should appear