Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MOFScript » Subpackages URI problem
Subpackages URI problem [message #547846] Mon, 19 July 2010 14:43
Toñi Reina is currently offline Toñi Reina
Messages: 204
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010303000601030005000706
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi all,

I'm writing a M2T transformation using a metamodel composed of various
packages, as it is shown in the screenshot I have attached. The root
class of the metamodel is included in the diagram package.

Each package has a different URI, in such a way that the root package
has as uri "http:\\org.name.root" and the uri of the diagram package is
"http:\\org.name.root.diagram". The problem is that when I load the
metamodel, MOFScript can not find the URI http:\\org.name.root.diagram,
and as a consequence, can not use the root class, nor other class,
because classes are in second level packages.

I suppose there is a problem with subpackages uris, Can someone tell
me how to register subpackages uri's or, to make Mofscript understand
the uri?

Thanks in advance.
To
Previous Topic:get external path of output
Next Topic:Feature not found
Goto Forum:
  


Current Time: Tue Jul 29 14:51:11 EDT 2014

Powered by FUDForum. Page generated in 0.01567 seconds