Home » Modeling » Epsilon » Eugenia: problem running example filesystem
|
Re: Eugenia: problem running example filesystem [message #1850235 is a reply to message #1850227] |
Tue, 22 February 2022 11:27 |
|
Hello,
It appears that you are attempting to open a model (.filesystem) file with the generated diagram editor. You should create a new "Filesystem Diagram" file (.filesystem_diagram) through the File->New->Other wizard, which can be edited using the diagram editor instead.
Best,
Dimitris
|
|
| | | | | | |
Re: Eugenia: problem running example filesystem [message #1852145 is a reply to message #1850235] |
Mon, 02 May 2022 14:19 |
Carlos Soares Messages: 14 Registered: May 2022 Location: Brazil |
Junior Member |
|
|
Dimitris Kolovos wrote on Tue, 22 February 2022 08:27Hello,
It appears that you are attempting to open a model (.filesystem) file with the generated diagram editor. You should create a new "Filesystem Diagram" file (.filesystem_diagram) through the File->New->Other wizard, which can be edited using the diagram editor instead.
Best,
Dimitris
Hello, Prof. Dimitris. I recently started studying MDE from your Youtube videos. In this same step of the "Graphical Modelling using GMF and Eugenia" video, I've got a problem generating diagrams with Eugenia. After I "run as eclipse application", it's not available to create a flowchart diagram option. I have tried to use a fresh install of Epsilon/Eclipse and another computer, but it still does not work. I've created the Filesystem example too, but I've had no success. In both cases, the only option available is to create a new flowchart/filesystem model.
Allowing me to ask another question, I saw that Eugenia is now outdated, and its site recommends Sirius. In your opinion, is Sirius the state-of-art successor of EMF/Emfatic/GMF/Eugenia?
Thanks.
Carlos.
|
|
|
Re: Eugenia: problem running example filesystem [message #1852163 is a reply to message #1852145] |
Tue, 03 May 2022 07:44 |
|
Hi Carlos,
When you run Eugenia, does a project with a name ending in ".diagram" get generated in your workspace?
> Allowing me to ask another question, I saw that Eugenia is now outdated, and its site recommends Sirius. In your opinion, is Sirius the state-of-art successor of EMF/Emfatic/GMF/Eugenia?
This is correct. Alternatively, if you only need read-only graphical views, you could also consider Picto.
Best,
Dimitris
|
|
|
Re: Eugenia: problem running example filesystem [message #1852178 is a reply to message #1852163] |
Tue, 03 May 2022 17:17 |
Carlos Soares Messages: 14 Registered: May 2022 Location: Brazil |
Junior Member |
|
|
Dimitris Kolovos wrote on Tue, 03 May 2022 04:44Hi Carlos,
When you run Eugenia, does a project with a name ending in ".diagram" get generated in your workspace?
> Allowing me to ask another question, I saw that Eugenia is now outdated, and its site recommends Sirius. In your opinion, is Sirius the state-of-art successor of EMF/Emfatic/GMF/Eugenia?
This is correct. Alternatively, if you only need read-only graphical views, you could also consider Picto.
Best,
Dimitris
Hello, Prof. Dimitris. Thanks for your answer. I have just seen that this diagram file is not being generated, only files: genmodel, gmfgen, gmfgraph, gmfmap and gmftool. I've even tried to change jdk/jre (current, 1.8, 1.6, and 1.5) version and operational system (from linux to windows), and did not generate this diagram file. Is there a tip to solve this?
Thanks.
Carlos.
|
|
| | | | | |
Re: Eugenia: problem running example filesystem [message #1852205 is a reply to message #1852195] |
Wed, 04 May 2022 18:28 |
Carlos Soares Messages: 14 Registered: May 2022 Location: Brazil |
Junior Member |
|
|
Hi Prof. Dimitris. Since my last reply, I have tried to install using Eclipse Installer, but I'm getting some errors. Inside Epsilon (Eclipse.org Applications, as in site instructions) custom install, I selected EMF, EcoreTools, and GMF Notation. First, I thought it was some internet proxy problem at university, but I also tried at home, and I saw that some repository is failing, as you can see in the attached image. I'll continue trying.
About the .genmodel file, it's opening normally. But, I'll investigate it more. What Epsilon packages do you choose to install?
Thanks so much for your attention,
Carlos.
-
Attachment: prtscr2.png
(Size: 118.36KB, Downloaded 136 times)
|
|
| |
Re: Eugenia: problem running example filesystem [message #1852209 is a reply to message #1852208] |
Wed, 04 May 2022 22:00 |
Carlos Soares Messages: 14 Registered: May 2022 Location: Brazil |
Junior Member |
|
|
Hi Prof. Dimitris. I've successfully installed a fresh Epsilon using Eclipse Installer, selecting it from the list, as you mentioned. I performed all the steps from scratch: create emfatic file, generate ecore model, register epackages and then run the Eugenia/Generate GMF editor. The "flowchart.diagram" file still wasn't generated, but "flowchart.diagram" project was. All the projects has some warnings, most of them are about Java Problems. The "flowchart.gmfgen" file icon is different from the old one, as you say too. Finally, I run the flowchart project as "Eclipse Application", create a new general project, and, again, only the flowchart model option is available, not the diagram. I keep investigating this.
Thanks,
Carlos.
-
Attachment: prtscr3.png
(Size: 187.41KB, Downloaded 126 times)
|
|
| | | | | | |
Re: Eugenia: problem running example filesystem [message #1852254 is a reply to message #1852239] |
Fri, 06 May 2022 09:20 |
|
Just chipping in: can you double click on those errors and paste in the details here? I recall that in very recent releases, GMF has started to run into conflicts with other Eclipse libraries due to mismatched versions of a third-party dependency (Apache Batik, a vector graphics library). You may want to try older versions of Eclipse as well - unfortunately, GMF is not being actively updated at the moment.
Another thing that you can try: in the nested Eclipse execution (the one you get when you run as "Eclipse Application"), try going to the Console view, use "New - OSGi console", and enter "ss diagram" to search for the diagram plugin. If you see a ".diagram" bundle, try using "diag ID" (where ID is the number that is printed next to it) - it may explain why that plugin is failing to activate. If you do not see that ".diagram" bundle, you may need to further investigate the "Run as Eclipse Application" launch configuration for issues.
|
|
|
Re: Eugenia: problem running example filesystem [message #1852261 is a reply to message #1852254] |
Fri, 06 May 2022 11:56 |
Carlos Soares Messages: 14 Registered: May 2022 Location: Brazil |
Junior Member |
|
|
Antonio Garcia-Dominguez wrote on Fri, 06 May 2022 06:20Just chipping in: can you double click on those errors and paste in the details here? I recall that in very recent releases, GMF has started to run into conflicts with other Eclipse libraries due to mismatched versions of a third-party dependency (Apache Batik, a vector graphics library). You may want to try older versions of Eclipse as well - unfortunately, GMF is not being actively updated at the moment.
Another thing that you can try: in the nested Eclipse execution (the one you get when you run as "Eclipse Application"), try going to the Console view, use "New - OSGi console", and enter "ss diagram" to search for the diagram plugin. If you see a ".diagram" bundle, try using "diag ID" (where ID is the number that is printed next to it) - it may explain why that plugin is failing to activate. If you do not see that ".diagram" bundle, you may need to further investigate the "Run as Eclipse Application" launch configuration for issues.
Hi, Professor Antonio. Thanks for your reply. I attached the log file to you to see the error message details. I appreciate your help, and I'll now try to do what you suggested, and in a while, I'll give feedback.
Thanks,
Carlos.
|
|
|
Re: Eugenia: problem running example filesystem [message #1852263 is a reply to message #1852261] |
Fri, 06 May 2022 12:13 |
|
Hi Carlos,
Dimitris is a professor, I'm just a doctor :-D. Looking at your log, those errors do seem to be coming from the Batik issue I mentioned. See here:
-> Bundle-SymbolicName: org.eclipse.gmf.runtime.diagram.ui.printing.render; bundle-version="1.8.0.202202190902"
Bundle was not resolved because of a uses constraint violation.
org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.eclipse.gmf.runtime.diagram.ui.printing.render [osgi.identity; type="osgi.bundle"; version:Version="1.8.0.202202190902"; osgi.identity="org.eclipse.gmf.runtime.diagram.ui.printing.render"] because it is exposed to package 'org.w3c.dom.events' from resources org.eclipse.osgi [osgi.identity; type="osgi.bundle"; version:Version="3.17.200.v20220215-2237"; osgi.identity="org.eclipse.osgi"; singleton:="true"] and org.w3c.dom.events [osgi.identity; type="osgi.bundle"; version:Version="3.0.0.draft20060413_v201105210656"; osgi.identity="org.w3c.dom.events"] via two dependency chains.
I'd suggest either asking at the GMF forum if other people have run into this issue, or trying older versions of Eclipse.
Best,
Antonio
|
|
| |
Re: Eugenia: problem running example filesystem [message #1852275 is a reply to message #1852265] |
Sat, 07 May 2022 08:07 |
|
Hi Carlos,
In case you haven't already got Eugenia working on a previous version of Eclipse, if you try to install 2.4/Interim now through the Eclipse Installer, it will fetch version 2021-12 of Eclipse, with which Eugenia still works fine. Could you please give it a try and let me know how it goes?
Best,
Dimitris
|
|
| |
Goto Forum:
Current Time: Wed Sep 25 07:58:34 GMT 2024
Powered by FUDForum. Page generated in 0.29651 seconds
|