OCL to generate EMF behaviour [message #499427] |
Sun, 22 November 2009 09:14  |
Eclipse User |
|
|
|
Hi,
What is the status of being able to use OCL in EMF models to enable generation of behaviour in the generated code?
Many thanks,
Joel
|
|
|
|
|
|
|
|
|
|
Re: OCL to generate EMF behaviour [message #504131 is a reply to message #503985] |
Thu, 17 December 2009 01:50   |
Eclipse User |
|
|
|
Joel,
The bugzillas to support this were committed by Kenn and are in a
build. It's only the OCL registration that's needed. Kenn was planning
to write some helpful information about it, but like so many of us, he's
stretched for time. I think the bugzillas themselves have a bit of
information to get started...
Joel Rosi-Schwartz wrote:
> Hi Ed,
>
>
> Best thing would be to rebuild the release notes generator using EMF
> to make it dependable ;)
>
> So what does it mean that the "The EMF things are done"? Where can I
> find clues on how to add constraints to a model? I am not that fussed
> if I can actually generate code yet from those constraints, but it
> would be nice to know that I will able to in say the next three
> months. If this means digging into the code for hints, then can you
> provide a few pointers on where to start. (But I hope not, because at
> the moment I am busy reading CDO code;-)
>
> Ed Merks wrote on Wed, 16 December 2009 12:10
>> Joel,
>> The EMF things are done, but our release notes generator hasn't been
>> working the last while. :(
>
>
> Will do.
>
> Quote:
>> Best to ask about these bugzillas on the bugzillas themselves...
>
>
> Thanks,
> Joel
|
|
|
Re: OCL to generate EMF behaviour [message #504177 is a reply to message #499427] |
Thu, 17 December 2009 10:11  |
Eclipse User |
|
|
|
I emailed Kenn Hussey about this and here is his reply
Quote: |
I actually provided fairly detailed descriptions of the EMF enhancements on the New & Noteworthy page for Helios - see http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios
As it currently stands, EMF now supports the ability to "plug in" delegates for constraints/invariants, feature settings, and operation invocations. However, in order to use a particular engine (e.g. the OCL engine), delegates for that engine must be plugged in. As you've discovered, bugs are open to do this for OCL, and I attached preliminary patches at one point (which I've since updated in my development workspace) but as yet I have been unable to find the time/funding to complete the work. With any luck, that could happen in time for the next milestone...
|
[Updated on: Thu, 17 December 2009 05:12] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05967 seconds