EMF Model to .mydsl file Validation [message #1718749] |
Tue, 29 December 2015 18:08 |
Abedhl Mhnugi Messages: 2 Registered: December 2015 |
Junior Member |
|
|
Hey,
I try to save an EMF object model to a .mydsl file but the validation (written in Xtend) fails and will not be called. I use the Injector from the StandaloneSetup to get a ResourceSet and the XtextResource. But when I call save() on the XtextResource it just saves the invalid .mydsl file.
My validator basically checks if every name of an element starts in uppercase and tested this using the ValidatorTestHelper.
Is there anything other I have to do that the validator in Xtend is called when I try to save a resource?
Thanks and regards.
[Updated on: Tue, 29 December 2015 22:48] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03229 seconds