Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » how can i generate xtext artifacts
how can i generate xtext artifacts [message #1858205] Thu, 23 March 2023 01:00 Go to next message
chen anjing is currently offline chen anjingFriend
Messages: 14
Registered: March 2023
Junior Member
In GenerateStucturedText.mwe2, get the error "Couldn't resolve reference to JvmType 'Workflow'."

when i right click at StructuredText.xtext, then "run as"->"Generate Xtext Artifacts", got the error as the image in the attachment:

can you help me? thx

Re: how can i generate xtext artifacts [message #1858211 is a reply to message #1858205] Thu, 23 March 2023 07:55 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

May I ask why you need this? 4diac IDE comes already with everything generated. So you could also take that code.

But if you want to experiment with it you need to ensure that in your Eclipse instance the full MWE2 Language SDK is installed. It should come with the Xtext complete SDK package, which is not per default part of the Eclipse Modelling edition anymore.
Re: how can i generate xtext artifacts [message #1858225 is a reply to message #1858211] Thu, 23 March 2023 15:23 Go to previous messageGo to next message
chen anjing is currently offline chen anjingFriend
Messages: 14
Registered: March 2023
Junior Member
I have a mild obsessive-compulsive disorder. when i see the red errors , i always want to get rid of them.
In fact, i has installed those sdks, they are shown in the attachments.
i have been confused by this problem for a long time.
  • Attachment: 1.png
    (Size: 46.13KB, Downloaded 42 times)
  • Attachment: 2.png
    (Size: 66.63KB, Downloaded 43 times)
Re: how can i generate xtext artifacts [message #1858228 is a reply to message #1858225] Thu, 23 March 2023 16:52 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

what red errors?
Re: how can i generate xtext artifacts [message #1858229 is a reply to message #1858228] Thu, 23 March 2023 16:52 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

For what 4diac IDE source version are you talking? develop branch? I will delete the plugin that you marked in your first screenshot today.
Re: how can i generate xtext artifacts [message #1858234 is a reply to message #1858229] Fri, 24 March 2023 01:00 Go to previous messageGo to next message
chen anjing is currently offline chen anjingFriend
Messages: 14
Registered: March 2023
Junior Member
4diac download from:
https://www.eclipse.org/downloads/download.php?file=/4diac/releases/2.0/4diac-ide/4diac-ide_2.0.1-win32.win32.x86_64.zip

Eclipse DSL Tools (includes Incubating components)
Version: 2023-03 (4.27.0)
Build id: 20230309-1520

and download xtext sdk from:
https://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/

[Updated on: Fri, 24 March 2023 01:37]

Report message to a moderator

Re: how can i generate xtext artifacts [message #1858243 is a reply to message #1858234] Fri, 24 March 2023 08:02 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

May I see the error that you are getting. I'm still not sure what you want to achieve. If you check out 4diac IDE code and have a correctly setup Eclipse IDE you do not need to run MWE workflows.
Re: how can i generate xtext artifacts [message #1858322 is a reply to message #1858243] Wed, 29 March 2023 02:56 Go to previous messageGo to next message
chen anjing is currently offline chen anjingFriend
Messages: 14
Registered: March 2023
Junior Member
I want to see how the whole process from xtext to EMF to java source files is realized. But the ecore and genmodel files in 4diac exist when they are downloaded, not generated from xtext.
Re: how can i generate xtext artifacts [message #1858329 is a reply to message #1858322] Wed, 29 March 2023 08:47 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Yes we have most of the more elaborate to create generated artifacts checked in. This greatly reduces set-up time and makes our developers more productive. Especially as these artifacts change not that often.
Re: how can i generate xtext artifacts [message #1858347 is a reply to message #1858329] Thu, 30 March 2023 01:11 Go to previous messageGo to next message
chen anjing is currently offline chen anjingFriend
Messages: 14
Registered: March 2023
Junior Member
I want to debug 4diac on windows, is there any detailed step-by-step instructions?
Re: how can i generate xtext artifacts [message #1858352 is a reply to message #1858347] Thu, 30 March 2023 06:32 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

From your previous messages I assume you want to debug 4diac IDE. The first step is to build 4diac IDE from source. Our documentation is pretty up to date and this is the first step. When you are able to run 4diac IDE from source you can also simply debug it from our Eclipse development instance.
Previous Topic:Save State of Running Application
Next Topic:Application of 4diac on esp32
Goto Forum:
  


Current Time: Sat Apr 27 23:53:42 GMT 2024

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

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

Back to the top