| [XText] Importing Ecore - EOF Error [message #62924] | 
Thu, 23 July 2009 09:36   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 
> 
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04303 seconds