[great-users] Changing Configuration Files
Anantha Narayanan
Ananth at isis.vanderbilt.edu
Tue Apr 3 17:12:49 CDT 2007
Hi,
The reason for the error you see is most probably due to the paths of
the input and output models. When you run the GR engine, you see the
paths of these models in the pop-up dialog. These paths are relative to
the path were you have placed the config file. If you changed the
location of the config file, you must also update the paths to these
models. If you select the correct path for these models (and save it
back by checking the "update configuration model" check box), it should
work fine.
Hope that will solve your problem.
~Ananth
-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Amogh
Kavimandan
Sent: Tuesday, April 03, 2007 4:55 PM
To: great-users
Subject: [great-users] Changing Configuration Files
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
_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/great-users
More information about the great-users
mailing list