Skip to main content


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 16:30 Go to next message
Andrea Margheri is currently offline Andrea MargheriFriend
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 16:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Standalone Xtend2 [message #965591 is a reply to message #963210] Wed, 31 October 2012 11:00 Go to previous messageGo to next message
Andrea Margheri is currently offline Andrea MargheriFriend
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 11:27 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
no sorry

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Adding a cross-reference by qualified name
Next Topic:Proxy Resolution issue (ResoureSet related? IResourceSetProvider how to?)
Goto Forum:
  


Current Time: Thu Mar 28 22:19:54 GMT 2024

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

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

Back to the top