Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to trigger Java code generation from Xtext generated Xtend sources
icon5.gif  How to trigger Java code generation from Xtext generated Xtend sources [message #1476152] Sun, 16 November 2014 22:25 Go to next message
Denis  Kuniß is currently offline Denis KunißFriend
Messages: 13
Registered: January 2010
Junior Member
I have implemented a Xtext language that generates Xtend code.
So, the intention is that a 2 step generation applies. At first, from the Xtext specified language file to Xtend and then from Xtend to Java.

When I start the test workbench the generation of the Xtend source works well, automatically on the file save event. However, the generation of the Java code from the generated Xtend files does not take place. Only when I open a Xtend file and modify it then the Java generation take place.

Does anyone know how to trigger the automatic Java code generation?
I guess, it it something with the builders.

Regards, Denis
Re: How to trigger Java code generation from Xtext generated Xtend sources [message #1479427 is a reply to message #1476152] Wed, 19 November 2014 12:21 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Denis,

this *should* happen in Eclipse automatically, but apparently it
doesn't. Could you please file a ticket and attach a small project that
reproduces the issue?

Thanks,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: How to trigger Java code generation from Xtext generated Xtend sources [message #1479972 is a reply to message #1479427] Wed, 19 November 2014 22:10 Go to previous message
Denis  Kuniß is currently offline Denis KunißFriend
Messages: 13
Registered: January 2010
Junior Member
... I filed a bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452399
Thanks, Denis
Previous Topic:Globalization of generated code in xText
Next Topic:Using Xtext and Code Generator without Runtime
Goto Forum:
  


Current Time: Thu Apr 25 23:14:48 GMT 2024

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

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

Back to the top