Open mqrzbw opened 1 year ago
Here is a minimal working example that fails in the way I report above. The file is an archived eclipse project. Thank you for your help. mwe920.zip
Further investigation results in an injector error in graphvizlayoutprovider line 80 getinjector. This mwe includes a pom.xml file with only eclipse elk 8.1 references. Attached:
Thank you for your help with this.
Thank you for your attention to this...Mike
I want to close this but I am unable to re-install Eclipse, per issue #934. So I can't verify on my system. Thank you for your help. Mike
It appears that I have successfully built eclipse and the klighd, scchart, pragmatics, and semantics along with elk. (Details below). I am still unable to execute this mwe, though. While these projects were built using maven, maven is no longer accessible in their project menus.
I create a new workspace, and when I try to import mwe920, I get a message from eclipse that it lacks "org.eclipse.m2e.core.maven2Nature". It tries to find a fix in Eclipse Marketplace but but the Eclipse Marketplace screen is blank.
The project shows with a red exclamation mark. If I try to enable it to work with maven, by right-clicking, selecting "Configure", I don't see an option to convert to a maven project. Here is a snapshot showing the Eclipse Configuration Details re maven.
If instead I try to create a new maven project, no maven options are presented in the "New..." menu.
Here are the edits/corrections I made to the supplied software to eliminate errors. Added these files into the install process, semantics… first, choosing the Keith path in the UI. I chose 2022-09 in the target field. On the first run, the script failed to clone org.eclipse.elk, as you suggested, so I did that manually. I had to run the install two more times to bring the error count down.
In the build.properties file of elk\plugins\org.eclipse.elk.graph.text, changed org.eclipse.xtext.generator to org.eclipse.xtext.xtext.generator.
In the source of ...\git\elk\plugins\org.eclipse.elk.core.meta.ui\src-gen\org\eclipse\elk\core\meta\ide\AbstractMetaIdeModule and ...\git\elk\plugins\org.eclipse.elk.core.debug.grandom.ide\src-gen\org\eclipse\elk\core\debug\grandom\ide\AbstractGRandomIdeModule there are errors that point to RenamingService, which I changed to RenamingService2.
In addition, I had to take the following steps to close out the remaining errors.
In ...\git\semantics\plugins\de.cau.cs.kieler.c.sccharts\src\de\cau\cs\kieler\c\sccharts\processors\CDTProcessor.xtend, I added these two lines: import de.cau.cs.kieler.annotations.extensions.AnnotationsExtensions import de.cau.cs.kieler.kexpressions.Expression
Per notes by msp, I changed the build path for de.cau.cs.kieler.klighd.piccolo.test to use Java 11. It doesn't compile with 1.8.
In order to make jdi code available to StateBreakpoint.xtend, I added JDK 1.8's lib/tools.jar to the classpath of de.cau.cs.sccharts.ui.debug.breakpoints.te.com
Guidance? Thank you. Mike
The additional errors in CDTProcessor, de.cau.cs.kieler.klighd.piccolo.test, and StateBreakpoint are new to me and I cannot reproduce them which my latest installation. Since these might be irrelevant to visualizing diagrams I would just try to start an Eclipse. In your Run/Debug Configurations should be a Kieler configuration. Can you start this configuration and open a diagram or a ElkGraph, KGraph or SCChart? If this does not work I suggest a meeting via Zoom. I would most likely arrange a meeting between 9am and 5pm (GMT+2).
There is no Kieler Run configuration visible on my Eclipse.
The best times for me to meet are: Mon Jul 3: 1PM or 2PM (your time), Tue Jul 4: 1PM-4PM your time, or Wed Jul 5: 1PM-4pm.
The later times are best for me. I am effectively on GMT -6. I think you can see my email, but if not, reach me at michaellynott@boisestate.edu.
Thank you.
Mike
The Kieler Run Configuration is visible if you open the Eclipse Application menu. The > indicates that there is something in there.
I pruned the semantics setup a little bit for you to remove unnecessary stuff. If you install this together with the elk setup the same way as before, you can just start an Eclipse and open the Diagram view for any *.elkt file. pragamtics-2-28.txt
Soeren Thank you for this. I have been focusing on other parts of my project, and will be traveling over the next two weeks. I will return to the project at around July 17. I will be in contact near that time. Mike
While running graphviz/Dot layouter, receive this error: com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package.
I note that elk.core.service v0.8.1 uses org.eclipse.runtime v 3.13.0 while my current eclipse uses 3.26.100. The Dependency Hierarchy display shows this being handled though.
When I googled the specific error I saw that this happened in Eclipse before, but this was years before the 2023.03 version of Eclipse which I'm running now.
If I run with layered algorithms directly the layout process succeeds. I'm running java 17.0.2 on Windows 11, with maven 3.8.7 executing in m2e.
I've attached the pom file and the traceback log. Thank you.
Mike
traceback ML during graphviz layouter.txt pom.txt