Skip to main content



      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 17:06 Go to next message
Eclipse UserFriend
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 01:23 Go to previous messageGo to next message
Eclipse UserFriend
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?

[Updated on: Wed, 18 May 2022 01:24] by Moderator

Re: Missing generated Activator class in *.*.ui/src-gen folder [message #1852489 is a reply to message #1852482] Wed, 18 May 2022 05:50 Go to previous messageGo to next message
Eclipse UserFriend
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 08:28 Go to previous message
Eclipse UserFriend
yes
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: Tue Mar 18 21:00:10 EDT 2025

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

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

Back to the top