Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Standalone Xtend2 (Generate code with Xtend2 from web browser)
Standalone Xtend2 [message #963194] Mon, 29 October 2012 12:30 Go to next message
Andrea Margheri is currently offline Andrea Margheri
Messages: 20
Registered: July 2012
Junior Member
Hi,

I have a Xtext and Xtend2 project working well in Eclipse. I want to create a web app to generate code from dsl-file.

How can I use Xtend2 class to creating a standalone code generator?

Thank you very much in advance for your help.

Andrea
Re: Standalone Xtend2 [message #963210 is a reply to message #963194] Mon, 29 October 2012 12:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6230
Registered: July 2009
Senior Member
Hi,

you can call the gernerator as every other java class. you may change the workflow
(generatorfragment) to generate a java main as an example.

~Christian
Re: Standalone Xtend2 [message #965591 is a reply to message #963210] Wed, 31 October 2012 07:00 Go to previous messageGo to next message
Andrea Margheri is currently offline Andrea Margheri
Messages: 20
Registered: July 2012
Junior Member
OK perfect. Do you have any link to some running example?

Thnaks
Re: Standalone Xtend2 [message #965616 is a reply to message #965591] Wed, 31 October 2012 07:27 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6230
Registered: July 2009
Senior Member
no sorry
Previous Topic:Adding a cross-reference by qualified name
Next Topic:Proxy Resolution issue (ResoureSet related? IResourceSetProvider how to?)
Goto Forum:
  


Current Time: Fri Aug 29 20:38:15 EDT 2014

Powered by FUDForum. Page generated in 0.01565 seconds