Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Missing generated Activator class in *.*.ui/src-gen folder
Missing generated Activator class in *.*.ui/src-gen folder [message #1852477] Tue, 17 May 2022 21:06 Go to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 7
Registered: May 2022
Junior Member
Hi,

I' trying to follow the post to reference elements from uml in xtext.

During the generation process it is supposed that a DomainModelActivator class should be generated in org.example.domainmodel.ui/src-gen. However, in my Eclipse installation this class is not generated, and the only generated class is this folder is one named XtextActivator.

My question is if this class is not genereted due to a different release of Xtext or is due to something I'm doing wrong

Thanks in advance.
Re: Missing generated Activator class in *.*.ui/src-gen folder [message #1852482 is a reply to message #1852477] Wed, 18 May 2022 05:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14285
Registered: July 2009
Senior Member
hi, when i create a new hello world xtext project i am getting
/org.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/internal/MydslActivator.java
once i run the workflow

do you have a wired language or project name that ends with Xtext?


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Wed, 18 May 2022 05:24]

Report message to a moderator

Re: Missing generated Activator class in *.*.ui/src-gen folder [message #1852489 is a reply to message #1852482] Wed, 18 May 2022 09:50 Go to previous messageGo to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 7
Registered: May 2022
Junior Member
Yes, my main project name ends with xtext. x.y.z.xtext is the name.

Then, for your question, I suppose that the generator takes the name from the last part of the project (the xtext part), am I right?
Re: Missing generated Activator class in *.*.ui/src-gen folder [message #1852495 is a reply to message #1852489] Wed, 18 May 2022 12:28 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14285
Registered: July 2009
Senior Member
yes

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:How to convert XMI to plain text when opening XTextEditor?
Next Topic:Xtext 2.27.0.M3 is out
Goto Forum:
  


Current Time: Thu Jun 30 23:52:21 GMT 2022

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

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

Back to the top