[great-users] Changing Configuration Files

Amogh Kavimandan amoghk at dre.vanderbilt.edu
Tue Apr 3 16:55:16 CDT 2007


Hi all,
I have the following problem during the generation of the configuration 
files before we run
the "Invoke Graph Rewrite Engine" for the actual transformation. At the 
time of GReAT
master interpreter invocation, I can change the location and/or name of 
configuration files
(Configuration.mga, *-gr.xml and *.udm) using the interpreter dialog. 
However, if I
were to change it, to say some other location the reqrite engine 
interpreter fails to find the
config files. I get a similar error when I run the debugger, i.e. it can 
not get the Config.mga
file location.
I wanted to check if this is a problem with my model, so I tried it with 
House2Order
sample that comes with the distribution. By default the files get 
created at Samples\House2Order
location. I deleted the files from this location, and re-generated the 
files to some other directory.
Although the files are generated fine, the rewrite engine fails to find 
the newly generated files. The
engine works fine if we generate the file to the static location which 
it expects the configuration files
to be (i.e., for House2Order it is Samples\House2Order)
Is there any other location in the Transformation model itself where I 
should change the location
of config files, in order to affect change of the search path for the 
rewrite engine? Or pls. let me know
if I have overlooked/missed something during the initial model 
creation/invocation of Master interpreter.
I am using GME 6.11.9, GReAT 1.6.0, and VC 8.

Thanks
 - Amogh


More information about the great-users mailing list