[great-users] Transformation of GME models to text

Daniel Balasubramanian daniel at isis.vanderbilt.edu
Wed Sep 11 10:11:37 CDT 2013


Hi Florian and Dominik,

Without seeing your transformation, I can't say for certain what the problem is, but it could be the following. Did you attach the metamodels of both the input and output models to the transformation? If you are creating an XML file as output, you still need to have a UML class diagram that represents the metamodel of the output attached to your transformation. You also need to make sure that the output file path name ends in ".xml" and that the DTD pathname of the FileType element is set correctly (e.g., "udm\OutputMeta.xsd").

The included sample named "MatchAnyAssoc" is an example of a transformation from a GME model to an XML file. You might want to look at it and see if your configuration is set similarly.

If that doesn't help, could you send your metamodel, GReAT transformation and input file to the list?

Hope this helps,
Daniel

-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu on behalf of Florian Kraus
Sent: Wed 9/11/2013 4:24 AM
To: great-users
Subject: [great-users] Transformation of GME models to text
 
Dear GME and GReAT Users,

We recently asked you this little question about the Transformation of GME Models into XML-Textformat and would be very happy, if someone of you could help us out with this challenge. We suppose that our first mail (please see below) didn't reach you.

Thanks a lot to all of you in advance for your help.
Best Regards

Florian Kraus and Dominik Giel


Gesendet: Freitag, 23. August 2013 um 14:52 Uhr
Von: "Dominik Giel" <Dominik.Giel at gmx.de>
An: gme-users at list.isis.vanderbilt.edu
Betreff: Transformation of GME models to text

Dear GME and GReAT-Users,

my intention is to convert a GME model with GReAT's gre.exe engine into an XML-Output File. The input file shall be provided as a .mga-File.

Following the GReAT's User Manual, section 3.2, I get exceptions, that the engine cannot deduce the backend of the file, where it should write to ("Output.xml"). In between the Udm-File has been corrupted, so I started again with a complete new project, but with the same results.

Can you provide me more information on the configuration of the <TF>-File where there's a .mga-File as input and .xml as output?

How is it possible to create and write to XML-Files using the GReAT Engine within GME?

Thanks in advance for your help.

Greetings from Stuttgart, Germany

Dominik




More information about the great-users mailing list