Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » OCL validation does not work in RCP application
OCL validation does not work in RCP application [message #623185] Mon, 13 September 2010 12:23
Eclipse UserFriend
Originally posted by: david.skogan.gmail.com

Hi,

I am using the EMF Validation Framework to add OCL constraints to an Ecore
model and an model.editor to show the data. This works like a dream when I
run it as an eclipse application. The OCL files are parsed and run in a
batch validator from the model.editor. The validation error event are
catched and the markers (errors and warnings) are shown in the problemView.

However, when I export the product and run it as an RCP application on the
same model file OCL validation is ignored. The OCL files are parsed, my
validation adapter are used, but no validation events (warnings) are
reported. Only basic Ecore validator errors are shown.

I'm running Eclipse Gallileo, with
org.eclipse.emf.validation_1.3.0.v200901271722.jar.

This behaviour is very frustrating as it is near to impossible to debug.

Any ideas?

Regards
David Skogan
Previous Topic:EMF Compare: compare order
Next Topic:annotation references
Goto Forum:
  


Current Time: Thu Dec 18 20:14:28 GMT 2014

Powered by FUDForum. Page generated in 0.09992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software