Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [Mofscript] The context is not found ...
[Mofscript] The context is not found ... [message #606575] Sun, 12 August 2007 17:02
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Hello everybody,
I would like to run Mofscript files from Java. I have no problem if I
execute the main Mofscript transformation (it imports other m2t files) with
the Mofscript interface but if I try to execute it from my java code I get
the errors:

Parsing result: 33 errors

: Error: MTTParseError: Illegal/unknown context: uml, line: 0, column: 0


: Error: MTTParseError: Cannot find import: guardas.m2t, line: 7, column: 7


I think that it does not find neither the context nor the imported m2t files. I am also
using the sentence parserUtil.setCompilePath(templatesDir); in my java file.
I am using Mofscript 1.2.4

Any idea?

Thank you very much in advance.

Previous Topic:[Announce] A Proposal and Prototype for an Eclipse Model Registry
Next Topic:[MOFScript] Multiple nsURIs in metamodel breaks things?
Goto Forum:

Current Time: Thu Jun 21 10:46:38 GMT 2018

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

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

Back to the top