Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 nameFriend
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 Apr 25 16:43:10 GMT 2024

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

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

Back to the top