Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [MOFScript] Problem with executing MOFScript programmatically
[MOFScript] Problem with executing MOFScript programmatically [message #621751] Tue, 02 September 2008 09:26
Eclipse User
Originally posted by: Stefan.Warwas.freenet.de

Hello,

I am developing an Eclipse plug-in that executes a MOFScript
transformation on a selected model to generate source code.
Unfortunately, I have the following problem: The transformation
consists of several m2t files that are imported by the main m2t file. If
I start a new instance of Eclipse to test the plug-in, the
transformation sometimes works and sometimes not (without changing
anything). The transformation always executes the main m2t file, but
(sometimes) the imported m2t files can not be resolved. If I export the
plug-in and copy it to another Eclipse's plugin folder, only the main
m2t file is executed (the imported ones never). The error message is:

#Runtime Error in FunctionCallEvaluator:# Unknown function ...

I followed the MOFScript User Guide 0.6 to execute the transformation
programmatically. I checked the compile path etc. but I could not find
the problem. ParserUtil does not complain about the imports. As far as I
understood I just have to invoke the ParserUtil with the main m2t file,
right? The examples I found considered only one m2t file without imports.

Perhaps somebody can give me some hints how to solve this problem. Thanks!

Regards,

Stefan
Previous Topic:[AM3] AM3 Zoos
Next Topic:[AM3] AM3 Zoos
Goto Forum:
  


Current Time: Mon Jul 28 02:19:21 EDT 2014

Powered by FUDForum. Page generated in 0.01594 seconds