Trying my first project having installed v1.4.1 and getting errors when I change the .ecore file.  Don't understand why, would be grateful of some pointers.  Am doing the following:

1. Created a new project with all defaults (File->New->Other->EMFText->EMFText Project)
2. Accept all defaults & finish.  Projects generated OK.
3. Open myDSL.cs - all OK, no errors
4. Open myDSL.ecore, make a small edit (e.g. change name of Entity.abstract to Entity.abstracte) & save
5. right click .ecore file, select Generate All (EMFText)
6. Error highlighted on SYNTAXDEF line of myDSL.cs file, details as follows:

Multiple markers at this line
- The genmodel (platform:/resource/org.emftext.language.myDSL/metamodel/myDSL.genmodel) is invalid. Please reconcile it. Error message is 'Problems encountered in the model'.
- The genmodel (platform:/resource/org.emftext.language.myDSL/metamodel/myDSL.genmodel) is invalid. Please reconcile it. Error message is 'Its use is by 'platform:/resource/org.emftext.language.myDSL/metamodel/myDSL.genmodel#//myDSL/Entity/abstracte''.
- The genmodel (platform:/resource/org.emftext.language.myDSL/metamodel/myDSL.genmodel) is invalid. Please reconcile it. Error message is 'Unable to resolve proxy 'platform:/resource/org.emftext.language.myDSL/metamodel/myDSL.ecore#//Entity/abstracte''.
- 11 changed lines

Tried opening .genmodel & selecting Generate All (EMFText) but to no avail.

Would appreciate if someone would advise where I'm going wrong - thanks.

On a related note: any problems with using a .ecorediag to generate the .ecore file?

Thanks,
Scott.
_______________________________________________
emftext-users mailing list
[email protected]
http://mail-st.inf.tu-dresden.de/cgi-bin/mailman/listinfo/emftext-users

Reply via email to