Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Emfatic] Error in mefatic files
[Emfatic] Error in mefatic files [message #1699626] Thu, 25 June 2015 11:45 Go to next message
Jia zh is currently offline Jia zhFriend
Messages: 10
Registered: June 2015
Junior Member
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?
Re: [Emfatic] Error in mefatic files [message #1699689 is a reply to message #1699626] Thu, 25 June 2015 20:42 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2154
Registered: July 2009
Location: York, UK
Senior Member

Hi,

Could you please attach/link a copy of the OCL.ecore you're using so that I can try to reproduce this locally?

Cheers,
Dimitris
Re: [Emfatic] Error in mefatic files [message #1700130 is a reply to message #1699689] Tue, 30 June 2015 10:42 Go to previous messageGo to next message
Jia zh is currently offline Jia zhFriend
Messages: 10
Registered: June 2015
Junior Member
Hi,

Attached is the ecore file. I found it in plug-in org.eclipse.ocl.


Best regards,
Jia
  • Attachment: OCL.ecore
    (Size: 113.70KB, Downloaded 173 times)
Re: [Emfatic] Error in mefatic files [message #1700137 is a reply to message #1700130] Tue, 30 June 2015 11:24 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2154
Registered: July 2009
Location: York, UK
Senior Member

Hi Jia,

This was a bug in the Ecore->Emfatic transformation which I've now fixed [1]. Please update from http://download.eclipse.org/emfatic/update and everything should work as expected.

Cheers,
Dimitris

[1] https://git.eclipse.org/c/emfatic/org.eclipse.emfatic.git/commit/?id=0467950974ff544bda117570cb3ae04116a329c8
Previous Topic:About Collections and Map Operation Performances
Next Topic:Extension point for model validation
Goto Forum:
  


Current Time: Thu Mar 28 20:26:29 GMT 2024

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

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

Back to the top