Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [MOFScript]
[MOFScript] [message #606596] Sat, 18 August 2007 20:08
mary is currently offline mary
Messages: 22
Registered: July 2009
Junior Member
Hello everybody,

I would like to run Mofscript files from Java. I have no problem if I
execute the main Mofscript transformation with the Mofscript interface.

The problem is that my input model is extension .mmdc (created by GMF)
then when I try to execute it from my java code I get the errors:

Parsing result: 14 errors
: Error: MTTParseError: Illegal/unknown context: mm, line: 0, column: 0
: Error: MTTParseError: Type not found: 'Clase' in metamodel 'null', line:
0, column: 0
: Error: MTTParseError: Can't find feature 'clases' for type 'Root'.,
line: 30, column: 45
: Error: MTTParseError: Type not found: 'Asociacion' in metamodel 'null',
line: 0, column: 0
: Error: MTTParseError: Can't find feature 'asociaciones' for type
'Root'., line: 64, column: 43
: Error: MTTParseError: Can't find feature 'clasesAsociacion' for type
'Root'., line: 67, column: 18
: Error: MTTParseError: Cannot find import: cabecera.m2t, line: 8, column:
7
: Error: MTTParseError: Cannot find import: clase.m2t, line: 9, column: 7
: Error: MTTParseError: Cannot find import: asociacion.m2t, line: 10,
column: 7
: Error: MTTParseError: Cannot find import: herencia.m2t, line: 12,
column: 19
: Error: MTTParseError: Undefined function call: generarCabecera, line:
27, column: 19
: Error: MTTParseError: Undefined function call: generarClase, line: 34,
column: 26
: Error: MTTParseError: Undefined function call: generarHerencia, line:
43, column: 34
: Error: MTTParseError: Undefined function call: generarAsociacion, line:
67, column: 18

this is because it don't know my input metamodel(.mmdc) but I donĊ½t know
how to do it...

Any idea?

Thank all

mary
Previous Topic:[MOFScript]
Next Topic:[MOFScript] input model
Goto Forum:
  


Current Time: Tue Sep 16 23:42:44 GMT 2014

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

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