[gme-users] Pattern processor in GME 4.2.3

Thompson, Robert C robert.c.thompson3 at boeing.com
Thu Feb 26 10:28:44 CST 2004


Hi,

I'm trying to run the Pattern Processor using GME 4.2.3.  I'm still trying to figure out how it works so I could be completely off, but it seems like it isn't working.  

I've attached the metamodel "networking", which was imported from the networking.xme which came with the tutorial as described in Lesson 6.  I used it to create a model "nettest" which has a few routers and things.  Then I used "dump.pat" which is in the tutorial section 7.2.3.  When I ran the interpreter I had my "NewNetDiagram" selected in the browser and also the "NewNetDiagram" model window open (showing the model's contents).  Then I did File->Run Interpreter->Pattern Processor.  This created the file "NewNetDiagram.xml" which doesn't contain what I expected.  It just outputs the XML header and the name of the diagram, but there are no contents, and it in fact doesn't ever close the <$Name> tag with the </$Name> at the end, making me think it aborted processing partway through (?)

Here are my questions:

a) Am I running the Pattern Processor right?
b) If so, is the output I got what I should have gotten? 
c) If so, I'm really confused:  I thought that it would be giving me content based on the contents of the model as dictated by the EVAL_FORALLs in "dump.pat".  Am I misunderstanding EVAL_FORALL?

d) Or is the Processor broken?

I appreciate any help that can be provided.  Please accept my apologies if this has already been asked/resolved.  I couldn't find anything related in the bugzilla or the mail archives...

Thanks
-ace

Ace Thompson
The Boeing Company 
5000 E McDowell Road MC M531-C240
Mesa, Arizona 85215-9797  USA
(480) 891-2284




 <<NewNetDiagram.xml>>  <<dump.pat>>  <<networking.mga>>  <<nettest.mga>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewNetDiagram.xml
Type: text/xml
Size: 93 bytes
Desc: NewNetDiagram.xml
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20040226/437e625f/NewNetDiagram-0001.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.pat
Type: application/octet-stream
Size: 1690 bytes
Desc: dump.pat
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20040226/437e625f/dump-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: networking.mga
Type: application/octet-stream
Size: 32377 bytes
Desc: networking.mga
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20040226/437e625f/networking-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nettest.mga
Type: application/octet-stream
Size: 2718 bytes
Desc: nettest.mga
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20040226/437e625f/nettest-0001.obj


More information about the gme-users mailing list