|
|
Re: xtend: How to import resources of resource [message #933799 is a reply to message #933197] |
Fri, 05 October 2012 10:58 |
Li K. Messages: 9 Registered: September 2012 |
Junior Member |
|
|
My modelB looks like this:
import modelA
testcase SingleLeafDoor {
[...]
}
Whereas modelA is an model for an ecore model and consists of different kind of doors (SingleLeafDoor, DoubleLeafDoor,...)
And the error messages when hitting the xtend workflow say:
243 ERROR Mwe2Launcher - Problems running workflow de.android.workflow.GenerateAndroidTests: Validation problems:
2 errors:
modelB.test - C:\workspace\de.android\.\..\de.models\model\modelB.test
1: Imported resource could not be found.
3: Couldn't resolve reference to Door 'SingleLeafDoor'.
I hope this helped to understand the problem.
Thank you once again!!
edit: 'modelA' in the import statement 'import modelA' is an URI
[Updated on: Fri, 05 October 2012 11:00] Report message to a moderator
|
|
|
|
|
|
|
Re: xtend: How to import resources of resource [message #935829 is a reply to message #935820] |
Sun, 07 October 2012 11:08 |
|
Hi,
i still do not get what you are doing. is your stuff working in the ui or is it not? xtext by default only allows to reference stuff that is exposed through a resourceserviceprovider.
this is done by the org.eclipse.xtext.ecore plugin for .ecore files and for all xtext grammars.
so if you have a xzy.ecore and a .xyz file and .xyz is not read with xtext but with a std ecore editor then you will need a custom resourceserviceprovider.
so of what kind is your house stuff??????
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05181 seconds