Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Mofscript] The context http://www.eclipse.org/uml2/2.0.0/UML is not found ...
[Mofscript] The context http://www.eclipse.org/uml2/2.0.0/UML is not found ... [message #606575] Sun, 12 August 2007 17:02
beaperez Mising name is currently offline beaperez Mising name
Messages: 81
Registered: July 2009
Member
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
http://www.eclipse.org/uml2/2.0.0/UML 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.

Bea
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 Oct 30 16:01:02 GMT 2014

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

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