OCL Problem [message #184153] |
Thu, 24 April 2008 10:08  |
Eclipse User |
|
|
|
Originally posted by: info.mtiede.de
Hi,
when trying to use the OCL to create an Audit Rule e.g. 'name.size()>0'
for one of my domain elements I receive a message in my generated RCP
Editor after invoking 'validate' on the diagram via the Menubar:
- The constraint "xxx" is disabled. It will not be evaluated.
- and in the preferences for "Model Validation - Constraints" I am now
able to see that the constraint has been disabled: "This constraint is
disabled because of a run-time error and cannot be selected."
The same behavior I get when adding the example Audit Rule to the mindmap
example.
Any ideas? Thanks for your help.
With best regards
Markus
|
|
|
|
|
Re: OCL Problem [message #184387 is a reply to message #184337] |
Sat, 26 April 2008 12:10  |
Eclipse User |
|
|
|
Originally posted by: give.a.damus.gmail.com
Hi, Markus,
Yes, the trick here is that there is no plug-in actually dependent on
the org.eclipse.emf.validation.ocl. It is a leaf plug-in that plugs
in animplementation of the "OCL" constraint language.
Although no other plug-in in the EMF Validation Framework SDK depends
on it, probably GMF should because it requires it for OCL-based
validation.Perhaps GMF is missing a Require-Bundle dependency?
Cheers,
Christian
On Friday 04-25-2008 (09:37), Markus wrote:
> Thanks a lot... :)
> Two other plug-ins have been missing in my launch configuration and
> although using the 'add required plug-ins' button these plug-ins have
> not been added to my configuration (include optional plug-ins was
> activated; Eclipse 3.4M6):
> - org.eclipse.emf.ocl
> - org.eclipse.emf.validation.ocl
> Now everything works fine (after adding them manually) but I'm a
> little bit surprised that they have not been added automatically to
> my configuration (there have also been no errors when validating the
> plug-in dependencies).
> With best regards
> Markus
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
|
|
|
Powered by
FUDForum. Page generated in 0.06428 seconds