Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifications to show assurance cases in Eclipse Views #169

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

davidcok
Copy link
Collaborator

@davidcok davidcok commented Jan 18, 2024

Fixes Issue #139

<goals>
<goal>apply</goal>
</goals>
<goals></goals>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering why this change was made. I assume this change falls back to the default goal (which may be the same as apply)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops - a local change snuck into the commit (this task does not work in my environment). Reverted.

@@ -42,7 +42,8 @@ Require-Bundle: com.ge.research.jena,
org.eclipse.ui.forms,
org.slf4j.api,
org.yaml.snakeyaml,
org.eclipse.debug.ui
org.eclipse.debug.ui,
openjfx.swing;bundle-version="17.0.2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised this requirement doesn't cause any error. We are explicitly adding the javafx jars to this bundle's classpath instead of requiring Eclipse to find the javafx bundles in its P2 repositories. At best, this requirement is unnecessary; at worst, it may be muddling where the swing classes come from (are they coming from a bundle in P2 or a jar in the classpath?). We should remove this requirement since RITE still should work without it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted the change. I suspect Eclipse inserted it.

lib/javafx-swing.jar,
lib/javafx-swing-linux.jar,
lib/javafx-swing-mac.jar,
lib/javafx-swing-win.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep all the jars sorted alphabetically. This helps maintainers check for missing jars which are in the lib directory but not on the bundle's classpath (note we do omit some jars from the lib directory on purpose, but still).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

lib/javafx-swing.jar,\
lib/javafx-swing-linux.jar,\
lib/javafx-swing-mac.jar,\
lib/javafx-swing-win.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise, please keep these filenames sorted alphabetically so maintainers can check for missing files more easily.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@@ -42,115 +42,162 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>${version.javafx}</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these newly added versions are redundant because the parent pom already has the complete information (including versions) in its dependencyManagement section. This allows the child pom to "inherit" the version from the parent pom.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed them.

@pauls4GE
Copy link
Contributor

pauls4GE commented Feb 6, 2024

Testing Reviews (on Windows)

  1. Shows a "Mode False" dialog box on clicking "Automatic GSN Inference"
    image

  2. Opens after clicking "Ok" in previous dialog box
    image

  3. The Javafx window has stability issues:

    • It flickers like crazy when background code is running
    • It sometimes disappears when something is clicked on
    • It sometimes hangs up

@davidcok
Copy link
Collaborator Author

davidcok commented Feb 6, 2024

  1. Removed the (debugging) "Mode" dialog
  2. As expected
  3. The flickering comes because the SADL Console grabs focus whenever logging output is written to it. I minimized that focus grabbing for the RACK console, but the work needs to be done also for the SADL console (which I don't have access to). Otherwise - I don't have a windows environment to assess the other comments. I have not observed them on Mac, but given a test scenario would be willing to try it.

Updated with a merge from main and pushed changes to the PR

@pauls4GE
Copy link
Contributor

Need to test on windows before merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants