|
Re: Integrating sirius into xtext [message #1804388 is a reply to message #1804324] |
Mon, 25 March 2019 09:49 |
|
Hi Emir,
For the validation error:
- Did you add the plugins which define your meta-model or Xtext syntax to the dependencies of your modeler's project ? (see https://www.eclipse.org/sirius/doc/specifier/general/Specifying_Viewpoints.html#vsp)
- If you did, you might have to look to your Xtext plugins to check how it declares the Ecore model to the platform.
- Is you DSL deployed when you launch the validation ? This might be required to retrieve the metamodel definition in the EPackage registry. You might also develop and validate your modeler in a runtime, this will simulate the deployment of your DSL.
For you not drawn ORRRelations, it seems that your syntax contains an intermediate concept which is the type of the childrenSet feature. The evaluation of your mapping target finder expression return SetOfChildren elments, and then Sirius cannot match it with the target mappings Attack£Node and DefenseNode.
You have to complete your target finder expression in order to find the nodes from the ORRRelation: something like aql:self.childrenSet.children should work.
Regards,
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02922 seconds