Skip to main content



      Home
Home » Modeling » TMF (Xtext) » How can I get theGenModelURI for a grammar in the same eclipse instance
How can I get theGenModelURI for a grammar in the same eclipse instance [message #1746208] Tue, 25 October 2016 06:01 Go to next message
Eclipse UserFriend
I have a DSL A with a generator that uses the GenModel of an EClass.
Then I have DSL project B that uses a DSL A instance. But the generator A does not find the GenModel B. I am using the
EcorePlugin.getEPackageNsURIToGenModelLocationMap(false)
method to find the GenModel URI but the repository does not contain the corresponding nsUri of the ecore model.
How can I enforce the genmodelURI of B to be registered in the eclipse instance where the project B resides ?
Re: How can I get theGenModelURI for a grammar in the same eclipse instance [message #1746211 is a reply to message #1746208] Tue, 25 October 2016 07:42 Go to previous messageGo to next message
Eclipse UserFriend
Does it work better with (true) as the argument? Where are A and B? Which EClass's GenModel is involved?
Re: How can I get theGenModelURI for a grammar in the same eclipse instance [message #1746250 is a reply to message #1746211] Tue, 25 October 2016 18:09 Go to previous message
Eclipse UserFriend
Yes, thanks that helps
Previous Topic:Content Assist - disable options
Next Topic:How can I force JvmInferrer to import a class I used in a body statement
Goto Forum:
  


Current Time: Tue Jul 15 18:18:43 EDT 2025

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

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

Back to the top