Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Call Xtend Generator in Xtext 2.9 - Web(Call Xtend Generator in Xtext 2.9 - Web)
Call Xtend Generator in Xtext 2.9 - Web [message #1719687] Mon, 11 January 2016 13:26 Go to next message
Kostas Kls is currently offline Kostas KlsFriend
Messages: 20
Registered: October 2015
Junior Member
I am new in the Xtext 2.9 - Web and i would like to ask something related to the
code generation component.
I have created a DSL and managed to have the Web Editor working.
However, i cannot call the Generator.xtend and generate custom code as in the standalone (Eclipse) version.

Could you provide me any assistance on that?
Re: Call Xtend Generator in Xtext 2.9 - Web [message #1719721 is a reply to message #1719687] Mon, 11 January 2016 16:55 Go to previous messageGo to next message
Uli Merkel is currently offline Uli MerkelFriend
Messages: 250
Registered: June 2013
Senior Member
Hi Kostas,

AFAIK, the web editor is just what is says: an EDITOR
All other things like loading files etc.
you have to implement in the background yourself.
Think this goes for the generator as well.
Re: Call Xtend Generator in Xtext 2.9 - Web [message #1719726 is a reply to message #1719721] Mon, 11 January 2016 17:31 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Have a look at https://github.com/eclipse/xtext/blob/master/web/org.eclipse.xtext.web.example.jetty/src/main/webapp/orion-statemachine-autogenerate.html

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Call Xtend Generator in Xtext 2.9 - Web [message #1719735 is a reply to message #1719726] Mon, 11 January 2016 17:58 Go to previous message
Kostas Kls is currently offline Kostas KlsFriend
Messages: 20
Registered: October 2015
Junior Member
Thank you very much for your response!!
Previous Topic:Xtend generation called but not working in Runtime
Next Topic:Where is class of formatting in the new XText wizard
Goto Forum:
  


Current Time: Fri Apr 19 23:01:51 GMT 2024

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

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

Back to the top