Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EPL] Cannot find meta-class
[EPL] Cannot find meta-class [message #1075348] Mon, 29 July 2013 09:12 Go to next message
Alex G is currently offline Alex GFriend
Messages: 96
Registered: January 2012
Member
Hallo!

In my EPL I have several meta-models involved for pattern matching - let's call one of them "MA". Now if I write

pattern MyPattern
   obj1 : MA!SomeType,
   obj2 : MA!OtherType
      from : obj1.otherObjects


then I get the error:
"Internal error: java.lang.RuntimeException: Cannot find meta-class 'MA!OtherType' in model 'MA'".

If I change in the code the type of obj2 to just "OtherType", i.e.

pattern MyPattern
   obj1 : MA!SomeType,
   obj2 : OtherType
      from : obj1.otherObjects


then everything works fine. Sure denoting "MA!" in "MA!Othertype" is not necessary, cannot it be inferred instead of throwing these errors?

Best regards,
Alex.
Re: [EPL] Cannot find meta-class [message #1075361 is a reply to message #1075348] Mon, 29 July 2013 09:47 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Alex,

At the risk of sounding like a broken record Smile I'm not sure I completely understand this issue so a concrete minimal example I can run would clearly help here.

Cheers,
Dimitris
Previous Topic:[EPL] Strange onmatch/nomatch behavior
Next Topic:Source to Source transformation with epsilon
Goto Forum:
  


Current Time: Fri Apr 26 05:41:48 GMT 2024

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

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

Back to the top