Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
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
Ed Willink is currently offline Ed Willink
Messages: 4036
Registered: July 2009
Senior Member
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: Tue Sep 02 07:48:23 EDT 2014

Powered by FUDForum. Page generated in 0.01583 seconds