Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Errors in Xtext 15 min extended tutorial(Error in @Inject and in the variable e)
Errors in Xtext 15 min extended tutorial [message #1832298] Tue, 15 September 2020 16:13 Go to next message
Isaiah Landin is currently offline Isaiah LandinFriend
Messages: 2
Registered: September 2020
Junior Member
Hi, I am doing research in DSL using xtext.

I am not sure what I am doing wrong. The first 15min tutorial worked well. The extended 15min tutorial is where I am stuck. Specifically I am getting errors at

@Inject extension IQualifiedNameProvider

and


for (e : resource.allContents.toIterable.filter(Entity)) {




Help is appreciated and thank you.
Re: Errors in Xtext 15 min extended tutorial [message #1832308 is a reply to message #1832298] Wed, 16 September 2020 04:15 Go to previous messageGo to next message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 114
Registered: February 2016
Senior Member
You have to implement the code generator in Xtend, not in Java.
Re: Errors in Xtext 15 min extended tutorial [message #1832318 is a reply to message #1832308] Wed, 16 September 2020 09:23 Go to previous message
Isaiah Landin is currently offline Isaiah LandinFriend
Messages: 2
Registered: September 2020
Junior Member
Ok thank you. Makes sense there were no semi-colons
Previous Topic:Inject extension into newly generated object
Next Topic:xText ParallelBuilderParticipant issue
Goto Forum:
  


Current Time: Sat Oct 31 02:43:29 GMT 2020

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

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

Back to the top