Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Compile Xtext-generated DSL from command line
Compile Xtext-generated DSL from command line [message #1005471] Fri, 25 January 2013 15:14 Go to next message
D Q is currently offline D Q
Messages: 3
Registered: January 2013
Junior Member
Hi,

It seems like to compile a DSL that is developed with Xtext & Xpand, one has to use Eclipse. Is there any way that the user of the DSL can simple compile the language from command line?

Thanks!
Re: Compile Xtext-generated DSL from command line [message #1005488 is a reply to message #1005471] Fri, 25 January 2013 16:29 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6329
Registered: July 2009
Senior Member
Hi,

if you modify the generatorfragment of your language you can configure to get a workflow/java main generated.

or simply read the model and call the generator by hand.
(http://wiki.eclipse.org/Xtext/FAQ#How_do_I_load_my_model_in_a_standalone_Java_application.C2.A0.3F)

~Christian
Previous Topic:View language
Next Topic:Serialization/Formatter Problem
Goto Forum:
  


Current Time: Thu Oct 02 16:35:11 GMT 2014

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

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