|[Xtend] Editor shows wrong errors [message #537686]
||Thu, 03 June 2010 11:41
| Hauke Fuhrmann
Registered: July 2009
I'm creating an xtend file with the xtend text editor.
I have two metamodels, one using the other where
metamodelA.ecore: Class NamedObject, field name:String
metamodelB.ecore: Class Entity extends NamedObject
An xtend file has:
Void test(metamodelB::Entity entity):
Actually the transformation works fine, when I execute it.
However, the Xtend editor shows a problem marker:
"Couldn't find operation 'setName(String)' 'for type metamodelB::Entity'"
I copied the ecore files to the same folder as the xtend file but this
did not help. Anything else I need to do to register the metamodels in
my current workspace? They already get registered in the workflow, but I
guess the xtend editor is not aware of the workflow file...
Powered by FUDForum
. Page generated in 0.05924 seconds