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 10: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 11:29 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5843
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: Wed Apr 16 21:05:17 EDT 2014

Powered by FUDForum. Page generated in 0.03598 seconds