Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtend: How to import resources of resource
xtend: How to import resources of resource [message #932944] Thu, 04 October 2012 11:40 Go to previous message
Li K. is currently offline Li K.
Messages: 9
Registered: September 2012
Junior Member
Hi all,

I've got a modelA, which is an instance of mm1.ecore.
I've got a modelB written in mydsl, which is defined with xtext using another metamodel mm2. This modelB imports modelA. Till here everything works perfectly.

Now I'm trying to generate code for modelB using xtend. But when I hit 'run as MWE2 workflow' on my mwe2 file in order to generate code I'm getting the error 'Imported resource could not be found.'

So I am wondering whether I can import the resources that are used in my modelB? Or is there a better way to solve this problem?

Thanks heaps in advance!!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Formatting nested if expression in switch expression fails
Next Topic:Adding Perspective to Xtext
Goto Forum:
  


Current Time: Fri May 24 07:58:04 EDT 2013

Powered by FUDForum. Page generated in 0.01725 seconds