[OCLinEcore] Project specific settings not taken into account for code generation [message #1067705] |
Wed, 10 July 2013 04:30  |
Eclipse User |
|
|
|
Hello,
If you have project specific settings and there you select one of the options to generate OCL code ("Generate Java Code in xxxBodies classes" or "Delegate for interpretation at run-time"), those settings are not taken into account when generating the code (even if you close and reopen the genmodel). Only the global settings will be taken into account.
I'm using OCL Examples and Editors v3.3.0.v20130611-1511
Thanks,
Cédric
|
|
|
Re: [OCLinEcore] Project specific settings not taken into account for code generation [message #1067729 is a reply to message #1067705] |
Wed, 10 July 2013 06:18  |
Eclipse User |
|
|
|
Hi
Some settings are badly coded, so it may help to restart Eclipse (and
report a bug).
As far as I am aware, it should only be necessary to restart the
genmodel editor.
If you want to use non-standard settings you may prefer to add the
following to your genmodel (just before the genPackages.
<genAnnotations source="http://www.eclipse.org/OCL/GenModel">
<details key="Use Delegates" value="false"/>
<details key="Use Null Annotations" value="true"/>
</genAnnotations>
Regards
Ed Willink
On 10/07/2013 09:30, Cedric Moonen wrote:
> Hello,
>
> If you have project specific settings and there you select one of the
> options to generate OCL code ("Generate Java Code in xxxBodies
> classes" or "Delegate for interpretation at run-time"), those settings
> are not taken into account when generating the code (even if you close
> and reopen the genmodel). Only the global settings will be taken into
> account.
>
> I'm using OCL Examples and Editors v3.3.0.v20130611-1511
>
> Thanks,
> Cédric
|
|
|
Powered by
FUDForum. Page generated in 0.04769 seconds