Hey guys,
I am currently trying to get OCL constraints working in an EMF-based plug-in that in turn is based on an .ecore **** model.
To be honest, much of the information on the web was either EMF constraint validation OR use of OCL but very little how to use them together. I found one very interesting article:
Eclipse Corner Article: Implementing Model Integrity in EMF with MDT OCL
Unfortunately, what Christian described in the article did not work for me. Specifically I don't get any files generated in the /templates folder and when I try the example source code, the generated code causes many compilation errors.
I kind of figure it has to do that this article was based on older Java and Eclipse versions. I'm using the modeling incubation of Eclipse v3.4.0.
Does anybody know a good up-to-date primer on how to get EMF and OCL working together?
Thanks a lot,
Christoph