[Emfatic] Error in mefatic files [message #1699349] |
Tue, 23 June 2015 10:01  |
Eclipse User |
|
|
|
Hi everyone!
I use OCL.ecore as the input file, and automatically transform it to emfatic file (OCL.emf). But I got errors in OCL.emf.
one line of the generated code is
op boolean collection_type_name(?"The chain of diagnostics to which problems are to be appended." ecore.EDiagnosticChain diagnostics, ?"The cache of context-specific information." ecore.EMap<EJavaObject, EJavaObject> context);
The error is "Encountered ?". Then I dug into this problem and found out that the string after the question mark should be the annotation of operation variables.
I tried some other models. all have this problem when I add annotations to operation variables.
Is this a problem of Emfatic?
Thanks in advance.
|
|
|
Re: [Emfatic] Error in mefatic files [message #1699353 is a reply to message #1699349] |
Tue, 23 June 2015 10:13  |
Eclipse User |
|
|
|
To repeat myself, Emfatic is maintained by the Epsilon folks so it's
probably better to ask on the eclipse.epsilon forum.
On 23/06/2015 4:01 PM, Jia zh wrote:
> Hi everyone!
>
> I use OCL.ecore as the input file, and automatically transform it to
> emfatic file (OCL.emf). But I got errors in OCL.emf.
>
> one line of the generated code is op boolean
> collection_type_name(?"The chain of diagnostics to which problems are
> to be appended." ecore.EDiagnosticChain diagnostics, ?"The cache of
> context-specific information." ecore.EMap<EJavaObject, EJavaObject>
> context);
>
> The error is "Encountered ?". Then I dug into this problem and found
> out that the string after the question mark should be the annotation
> of operation variables.
>
> I tried some other models. all have this problem when I add
> annotations to operation variables.
>
> Is this a problem of Emfatic?
>
> Thanks in advance.
>
|
|
|
Powered by
FUDForum. Page generated in 0.47668 seconds