Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Call xtend function in java
Call xtend function in java [message #1219680] Thu, 05 December 2013 11:38 Go to next message
Caroline Smith is currently offline Caroline SmithFriend
Messages: 7
Registered: October 2013
Junior Member
Hi I want to tank you for all the answer that you alwayse give me Smile .
Now I've got a problem, I need to use some function written in xtend/xpand in Generator.xtend file in some java class that I create in the src folder, is it possible?
How can I call them correctly?


Thank you!

Caroline
Re: Call xtend function in java [message #1219686 is a reply to message #1219680] Thu, 05 December 2013 12:16 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13669
Registered: July 2009
Senior Member
Hi I don't get the question. Xtend compiles to java so call it as you
call java

--
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


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Call xtend function in java [message #1219696 is a reply to message #1219686] Thu, 05 December 2013 12:48 Go to previous message
Caroline Smith is currently offline Caroline SmithFriend
Messages: 7
Registered: October 2013
Junior Member
Oh, yes, you're right!
I've forgot about this...sorry!

Thanks a lot.
Previous Topic:Class cast exception while running workflow
Next Topic:Problem Executing the Standalone jar
Goto Forum:
  


Current Time: Sat Dec 05 00:47:19 GMT 2020

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

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

Back to the top