Allen,
OpenROAD is not using any source files (sources are stored in the repository).
Exporting an application in XML format (either from Workbench or using “-xml” option from command line)
should produce a “fairly compact” text document.
The question is, what information do you expect in such a document and how compact is ““fairly compact”?
If you are interested in certain parts of the sources only (e.g. the “Script” parts), then you can parse and filter the XML files
with XML tools (even OpenROAD).
Bodo.
Bodo Bergmann | Sr. Software Engineer | OpenROAD Worldwide Development | Actian
From: openroa...@googlegroups.com [mailto:openroa...@googlegroups.com] On Behalf Of Allan Biggs
Sent: Wednesday, May 30, 2012 18:21
To: openroa...@googlegroups.com
Subject: [openroad-users] Is there a way of exporting all the application source to a text file?
I just wondered if things had changed. We are now using 5.1
The XML export file contains all information required to rebuild the application/component(s).
So, the content is as compact as it can get for an XML file.
Of course the element names could be shortened if we wouldn’t use the known/documented attribute names
(e.g. “b1” rather than “bgcolor”, “b2” rather than “bgpattern” etc.),
but that would make the whole thing cryptic again – an EXP export file is an example of such a cryptic text file.
Using XML parsers or the XML classes provided with OpenROAD on the export file will provide means to “post-process” the XML export file.
You can also use XSL transformation rules on it to convert it to the format you like (with the content you need).
It seems that you only want selected information,
but you described that you want the “source”, which means “everything” that makes up an application/component,
e.g. for a frame it’s the whole FrameSource with its properties including its form (and all fields), menu, toolbars, macro variables, style sheet, script, etc.
Bodo.
select ee.entity_name, e.entity_name from ii_dependencies d , ii_entities e , ii_entities ee
where e.entity_type = 'proc3glsource'
and d.dest_entity_id = e.entity_id
and ee.entity_id = d.src_entity_id
;
----- Original Message -----
From: Adrian Williamson
Sent: 05/30/12 09:36 PM