Skip to main content



      Home
Home » Modeling » TMF (Xtext) » [XText] Importing Ecore - EOF Error
[XText] Importing Ecore - EOF Error [message #62924] Thu, 23 July 2009 09:36 Go to next message
Eclipse UserFriend
Hi!

I created an XText project, called MyProject, using the XText wizard. I am
importing a metamodel from ECore using this line:

import "platform:/resource/MyOtherProject/model/MyDSL.ecore"

However, I get an error telling me the following:

required (...)+ loop did not match anything at input '<EOF>'

Any idea as to why this happens? A Google suggests it's an ANTLR thing,
where it can't parse the EOF. My Ecore has a linebreak at the end... what
gives?

Maurice
Re: [XText] Importing Ecore - EOF Error [message #62928 is a reply to message #62924] Thu, 23 July 2009 10:03 Go to previous message
Eclipse UserFriend
Hi Maurice,

your grammar requires at least one rule to be valid.

Regards,
Sebastian

--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 23.07.2009 15:36 Uhr, schrieb Maurice:
> Hi!
>
> I created an XText project, called MyProject, using the XText wizard. I
> am importing a metamodel from ECore using this line:
>
> import "platform:/resource/MyOtherProject/model/MyDSL.ecore"
>
> However, I get an error telling me the following:
>
> required (...)+ loop did not match anything at input '<EOF>'
>
> Any idea as to why this happens? A Google suggests it's an ANTLR thing,
> where it can't parse the EOF. My Ecore has a linebreak at the end...
> what gives?
>
> Maurice
>
>
Previous Topic:[XText] Generator properties
Next Topic:[Xtext] Linking & implied imports
Goto Forum:
  


Current Time: Fri May 09 09:39:41 EDT 2025

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

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

Back to the top