Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext-Web / Referencing Elements(Referencing Elements of one DSL from another DSL)
Xtext-Web / Referencing Elements [message #1804507] Wed, 27 March 2019 11:13 Go to next message
Eclipse UserFriend
In August 2012, a very well-documented example was published on the topic "Referencing Elements of one DSL from another DSL". Here the link: dietrich-it.de/xtext/2012/08/07/xtext-referencing-elements-of-one-dsl-from-another-dsl.html

Exactly this example is correct for my needs and it works as described. Unfortunately not in a generated WEB context under Xtext Web (https://www.eclipse.org/Xtext/documentation/330_web_support.html)

The error message when entering the DSL in the Web Editor is: "Could not resolve reference to ..."
What needs to be configured / programmed so that the references are also resolved in a web container?
Re: Xtext-Web / Referencing Elements [message #1804564 is a reply to message #1804507] Thu, 28 March 2019 14:42 Go to previous messageGo to next message
Eclipse UserFriend
first of all i am sure the setup of the generator does not properly generate.
thus you have to setup the content of your web project manually.
did you have a look at the web example in the web codebase here:

https://github.com/eclipse/xtext-web/tree/master/org.eclipse.xtext.web.example.jetty
Re: Xtext-Web / Referencing Elements [message #1804566 is a reply to message #1804564] Thu, 28 March 2019 14:53 Go to previous message
Eclipse UserFriend
you may have a look at https://www.eclipse.org/forums/index.php/m/1798288/?srch=web+mydsla#msg_1798288
too
Previous Topic:Creating a Resource from files in InMemoryFileSystemAccess
Next Topic:[Language]ProposalProvider for generic IDE (VS-Code)
Goto Forum:
  


Current Time: Fri Jun 13 13:21:48 EDT 2025

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

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

Back to the top