Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [MOFScript] input model
[MOFScript] input model [message #379043] Sat, 18 August 2007 20:10
mary is currently offline maryFriend
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: Thu Apr 25 21:12:42 GMT 2024

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

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

Back to the top