Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Cross-file references as in 15-min tutorial not working
Cross-file references as in 15-min tutorial not working [message #1407148] Tue, 12 August 2014 01:26 Go to next message
Javier Fernandes is currently offline Javier FernandesFriend
Messages: 6
Registered: July 2009
Junior Member
Hi guys !

While working on a DSL I'm trying to move from the old "importURI" mechanism to the "importedNamespace", but I cannot make it work.

As my dsl has already many customization I tried out creating a more simple to see where was the problem.
So I just did what it's stated in the 15 minutes tutorial.
Specifically this part:

http://www.eclipse.org/Xtext/documentation.html#_4

No further customization besides just some rules with the "importedNamespace" attribute, and using the cross-ref with QualifiedName (a custom rule).

But it's not resolving datatypes, neither Entities which are in another file.
I actually created the same 3 files with the same content as the tutorial

Is this somehow broken ?
I didn't find any similar topic in the forum.

Thanks!
Re: Cross-file references as in 15-min tutorial not working [message #1407385 is a reply to message #1407148] Tue, 12 August 2014 13:36 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14664
Registered: July 2009
Senior Member
Hi,

create a new project and compare the two workflows


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Serialization of xtext grammar models
Next Topic:Trigger new rule after creating cross reference
Goto Forum:
  


Current Time: Tue Apr 16 05:01:20 GMT 2024

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

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

Back to the top