Skip to main content



      Home
Home » Modeling » MDT (Model Development Tools) » [MDT-OclInEcore] Code executed for dynamic instances but not for generated editor
[MDT-OclInEcore] Code executed for dynamic instances but not for generated editor [message #947804] Wed, 17 October 2012 09:03 Go to next message
Eclipse UserFriend
Hi all,

I used the OCLInEcore editor to specify OCL constraints. These get executed fine for dynamic instances. If I generate code and try to get the OCL executed in a target workbench it does not work. Any hints? I set OperationRefelection to true and Java to Version 6.0.

Thanks Ralph
Re: [MDT-OclInEcore] Code executed for dynamic instances but not for generated editor [message #947838 is a reply to message #947804] Wed, 17 October 2012 09:43 Go to previous message
Eclipse UserFriend
Hi

Please use the OCL newsgroup for OCL discussions.

I'm afraid that "it does not work" is not often likely to get a useful
answer.

There are often tens of reasons why things might not work. I do not have
time to list them all and none of them may be appropriate.

Of particular importance is the Eclipse OCL version you are using. Juno
adds the ability to generate Java code directly.

Regards

Ed Willink

On 17/10/2012 14:03, Ralph Gerbig wrote:
> Hi all,
>
> I used the OCLInEcore editor to specify OCL constraints. These get
> executed fine for dynamic instances. If I generate code and try to get
> the OCL executed in a target workbench it does not work. Any hints? I
> set OperationRefelection to true and Java to Version 6.0.
>
> Thanks Ralph
Previous Topic:[BPMN2] own attributes removed on save
Next Topic:[BPMN2] extending attribute of Process node
Goto Forum:
  


Current Time: Sat May 17 02:56:50 EDT 2025

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

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

Back to the top