Version en español
The attached files includes xrefsrc database tables data, xml files generated with this data and the EAP transfer of the generated UML (one for each generation step).
- After loading xrfdat and xrfprg with the provided data run com/nomadesoft/ns_startup.p and answer 'yes' to xml generation question (first question):
- Don't generate data model xml.
- Do generate xref xml:
- Choose if you want readable xml or not (continous stream, important only for alias.xml)
- Enter xml file name (xrefejemplo.xml) and choose the module to generate xml for: "ejemplo".
- Enter xml file name for notes (notasejemplo.xml).
- Provided xrefejemplo.xml and notasejemplo.xml are the xml generated from xrefsrc database provided data.
- Copy xml files (usually generated on C:\OpenEdge\WRK) to project root dir.
- Answer 'yes' to xml processing question.
- Choose full building (not incremental) by answering 'no' to the question, this empties repository.
- Accept stereotype mapping proposed.
- Don't generate data model.
- Do process xref xml:
- Enter xml file name (xrefejemplo.xml).
- Choose options "Crear Objetos" (create objects), "Crear Enlaces" (create links) and "Mover UFs" (move packages), the rest must be leaved with 'no', usually fails on incremental builds.
- Answer 'no' to the remaining questions, this finishes the first step, obtaining example1.EAP repository state.
- Run ns_startup.p again and answer 'no' to xml generation.
- Accept xml processing and choose incremental generation.
- Accept stereotype mapping, don't generate data model, answer 'yes' to xref xml processing:
- Enter xml file name (xrefejemplo.xml) and leave the first three options in 'no' (the ones you anser 'yes' in previous run) and choose to execute: "Crear Diagramas" (create diagrams), "Ocultar Conns" (hide connectors) and "Limpiar Tablas" (clean tables) (class that generates file links is not distributed with the source files, so if you choose "Enlace a Archivo" the program will fail).
- Process notes xml.
- Enter notes xml file name (notasejemplo.xml) ans answer 'no' to "Enlace Archivo" (file link).
- Answer 'no' to the remaining questions, obtaining example2.EAP repository.
- Use Enterprise Architect to automatically order diagram elements, obtaining example3.EAP.