Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Help finishing the tutorial
Help finishing the tutorial [message #1860814] Mon, 04 September 2023 14:31 Go to next message
Leonard Theisler is currently offline Leonard TheislerFriend
Messages: 16
Registered: September 2023
Junior Member
Hi everyone,

I am a complete beginner and I will need to use gmf for my bachelor thesis. I have been following the tutorial but I run into a problem when I reach the part where I need to generate teh diagram code. I get a weird error that I have not been able to solve, and I have not seen anything similar online. Is there anyone that knows how to fix this or can point me in the right direction? It seems to be something relating to the compiler, so I think it is relevant to mention that I have set the compliance level to 1.5, but I have had the same issue when it was at 17.
Re: Help finishing the tutorial [message #1860815 is a reply to message #1860814] Mon, 04 September 2023 14:42 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 701
Registered: July 2009
Senior Member
Hi,

Which tutorial are you refering to?

You mention "generating the diagram code", so it looks like you are trying to use GMF *Tooling* (https://projects.eclipse.org/projects/modeling.gmf-tooling), which is (was) a set of generators and associated tooling to produce Java code which targets GMF *Runtime* (https://projects.eclipse.org/projects/modeling.gmf-runtime).
GMF Tooling has been inactive/unmaintained for quite some times unfortunately; I think it can be considered abandonned (last commit was 7 years ago: https://gitlab.eclipse.org/eclipse/gmf-tooling/org.eclipse.gmf-tooling).



Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Help finishing the tutorial [message #1860834 is a reply to message #1860815] Tue, 05 September 2023 14:37 Go to previous messageGo to next message
Leonard Theisler is currently offline Leonard TheislerFriend
Messages: 16
Registered: September 2023
Junior Member
Hi,

This is the tutorial that I was referring to: https://wiki.eclipse.org/Graphical_Modeling_Framework/Tutorial/Part_1#Tooling_Definition

Your reply made me realize that I had overlooked some things in the "Setup" part of the tutorial, so I went and installed what was missing. This made the error from my previous post go away, but I am still at a dead end because I now have a different error at the same step (generate diagram code). I think that there is something wrong with my eclipse environment because I don't see what could have possibly gone wrong. Besides, the solution to this tutorial can be found online, and I am unable to run it, which also makes me think that there is something wrong with my eclipse environment. I will try to start over from scratch and see if that helps.
Re: Help finishing the tutorial [message #1860855 is a reply to message #1860815] Wed, 06 September 2023 10:16 Go to previous message
Leonard Theisler is currently offline Leonard TheislerFriend
Messages: 16
Registered: September 2023
Junior Member
Hi again,

I have now uninstalled and reinstalled Eclipse as well as all of the required plugins. I am able to run the entirety of the tutorial (https://wiki.eclipse.org/Graphical_Modeling_Framework/Tutorial/Part_1#Setup ) until the very last step where I need to open the mindmap example. The problem I have is that the mindmap does not appear in "examples", and there are also numerous errors in the new Eclipse runtime that pops up when I run the application. Does anyone have any insight on what could be wrong? I have the same issue when I use the tutorial solution that is available online.

Previous Topic:GMF Tooling Update
Goto Forum:
  


Current Time: Mon Mar 04 09:33:04 GMT 2024

Powered by FUDForum. Page generated in 0.02605 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top