Skip to main content



      Home
Home » Modeling » TMF (Xtext) » xtext code-generator
xtext code-generator [message #908400] Wed, 05 September 2012 06:12 Go to next message
Eclipse UserFriend
Hello,

I would like to know whether is there a way to check the code generator(Xtend)for the given DSL instance(ie., model) without running it in a new eclipse instance?
Because each and every time when I make changes with the Xtend file(to generate an output which is somewhat template based) I have to run it as a eclipse application to check the generated-output, which sometimes fails if there exists some errors in the generator.
Thanks for any help provided.
Re: xtext code-generator [message #908412 is a reply to message #908400] Wed, 05 September 2012 06:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi you can configure the generator fragment in the language workflow
to generate a workflow or java main class for the generator

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Re: xtext code-generator [message #908429 is a reply to message #908412] Wed, 05 September 2012 07:15 Go to previous messageGo to next message
Eclipse UserFriend
Am 05.09.12 12:39, schrieb Christian Dietrich:
> Hi you can configure the generator fragment in the language workflow to
> generate a workflow or java main class for the generator
>

Or you could write unit tests (strongly recommended).

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: xtext code-generator [message #908575 is a reply to message #908400] Wed, 05 September 2012 11:37 Go to previous message
Eclipse UserFriend
You could write also a MWE2 workflow (which is generated by the generator fragment) and execute this from DEV workspace.
Previous Topic:xtext update sites unavailable?
Next Topic:What to use for automated xtext builds & tests?
Goto Forum:
  


Current Time: Sat Jul 05 10:42:45 EDT 2025

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

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

Back to the top