| 
| Error when saving the model [message #52036] | Wed, 17 June 2009 04:46  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 I have a grammar and I write some code in its editor, which goes smoothly.
 When saving my model through ctrl+s following error messages appear. For
 each entity I create there is a similar message.
 Anybody know what that could be related to?
 
 
 org.xtext.example.myDsl.impl.Entity_TypeImpl cannot be cast to
 java.util.Collection	MyModel.mydsl	/org.xtext.example.mydsl.generator/src/model	/org.xtext.example.mydsl.generator/src/model/MyModel.mydsl	EMF
 Problem
 |  |  |  | 
|  | 
|  | 
|  | 
| 
| Re: Error when saving the model [message #52196 is a reply to message #52170] | Thu, 18 June 2009 03:40  |  | 
| Eclipse User  |  |  |  |  | Hi Aurel, 
 see below.
 
 Am 18.06.2009 8:35 Uhr, schrieb Aurel Ganga:
 > After rebuilding the whole project from scratch, the error seized to
 > exist. Weird, because I didn't change anything in the code. Anyway,
 > problem solved!
 >
 > Feel free to comment my code syntactically (or esthetically) if you
 > want, because I am still learning. :)
 >
 
 From a first glance I'ld advise you to use lowercase attribute names to
 increase readability of your grammar :-)
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.25534 seconds