|[MOFScript] Problem with executing MOFScript programmatically [message #621751]
||Tue, 02 September 2008 13:26
Originally posted by: Stefan.Warwas.freenet.de|
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!
Powered by FUDForum
. Page generated in 0.02253 seconds