Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Headless generator for a DSL with dependencies to another DSL(Headless generator for a DSL with dependencies to another DSL)
Headless generator for a DSL with dependencies to another DSL [message #1196442] Tue, 19 November 2013 12:19 Go to next message
Paul Brillant is currently offline Paul BrillantFriend
Messages: 5
Registered: August 2013
Junior Member
Hi all,

I have a DSL (A) that has dependencies to elements in another DSL (B)
Everything works withing Eclipse between a model of A and a model of B

But the problem raises when I deploy the xtend generator of the DSL A in a plain java environment. When I try to run the exported jar in the command line, I get errors
telling me that it could not resolve reference to element of the model B
Actually I put both models (model A and model B) in the same folder

I follow the Sebastian's post on How to Deploy Xtext to a Headless Plain-Java Environment?

It works for the xtend generator of the DSL B without dependencies. But not for DSL A with references to elements of B

Any help or hint to how to cope with that will be very appreciated

Thanks
Paul
Re: Headless generator for a DSL with dependencies to another DSL [message #1196849 is a reply to message #1196442] Tue, 19 November 2013 16:31 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 6499
Registered: July 2009
Senior Member
Hi,

simply calling both standalonesetups should do the trick.
Previous Topic:Using DSL outside Eclipse
Next Topic:Customize "hover-support" for non-grammer EObjects
Goto Forum:
  


Current Time: Fri Nov 28 04:45:18 GMT 2014

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

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