Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » DSL serialization in multiple resources with cross references
DSL serialization in multiple resources with cross references [message #932933] Thu, 04 October 2012 15:28
Jonas Stahl is currently offline Jonas StahlFriend
Messages: 1
Registered: October 2012
Junior Member
Hi,

I would like to serialize an EMF model in multiple resources using a DSL format with the help of XText. There are some cross references between the objects in the different resources.

I understand that relevant topics are: scopes, linking, import statements (importURI)...

As a first step, I would like to use "fully qualified names", to qualify the resource that contains the target of the cross reference. Just as the default EMF XMI serializer works.

As a second step, I would like to use automatically generated import statements to make the DSL even more readable, just like we use import declarations in java.

Could you give me some hints?

Cheers,
Jonas

p.s. a similar question has already been posted: http://www.eclipse.org/forums/index.php/t/303852/
Previous Topic:Exception with ResourceSetBasedResourceDescriptions occurs
Next Topic:Recursive iQualifiedName
Goto Forum:
  


Current Time: Fri Apr 26 07:04:11 GMT 2024

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

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

Back to the top