Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » MWE framework and Check language
MWE framework and Check language [message #1048204] Wed, 24 April 2013 06:57
Dhanya M is currently offline Dhanya M
Messages: 16
Registered: April 2013
Junior Member
Hi,

I have 2 ecores in my project having the same contexts in it with same namespace. I want to validate based on one of the ecores. I use a check language and write workflow files to validate.

My workflow file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<workflow>
<component class="org.eclipse.xtend.check.CheckComponent">
<metaModel class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
<modelFile value="actual path of the ecore"/>
</metaModel>
<emfAllChildrenSlot value="model"/>
<checkFile value="CheckFile"/>
</component>
</workflow>

When i gave a relative path to my ecore, it was not able to find it. When i gave the actual path of the ecore workflow file executed. However it was not reporting any issues as it used to when there was only one ecore.

How can i be sure that it picks the correct ecore and validate?
I suppose it has something to do with same context names and same namespace. How can i resolve this?
Previous Topic:teneo hibernate example
Next Topic:[EMF Databinding] Values are not reset if transaction was rolled back be pre-commit listener
Goto Forum:
  


Current Time: Thu Oct 30 18:32:28 GMT 2014

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

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