4
votes

Is there a way to combine multiple packages into one (html) report? I don't want to generate a report from the parent package because it contains a lot of information not related to the desired report. I'm looking for an answer that does not require copy/pasting the separate packages into a new parent package, mainly because that forces me to update the links between the various diagrams and is quite time consuming.

3
Reading through my answer, I realize I may have misinterpreted your question. So just to clarify: have you tried (and dismissed) setting up «model document»s?Uffe
@Uffe, this looks like what I was looking for. Why didn't you post this as an answer? I'm working on setting this up now.joniba
@Uffe, add it to your answer or add another answer and I will mark it as the answer. Until then, since this is exactly what I was looking for, I will add it myself and mark it as the answer.joniba

3 Answers

5
votes

Thanks to @Uffe, there actually is an elegant solution in EA. You can create a documentation diagram and add model document or master document elements to it. To these elements you can then add packages from anywhere in the model, and then publish this combination in any of the supported formats. More details here.

1
votes

You can't combine the output of several HTML (or document) reports into one. You can do the opposite: you can exclude certain packages from generation.

Simply select each (child) package you wish to exclude, right-click and select Documentation -- Generated Report Options... This allows you to choose whether the package is included in the report. This option is recursive, so the package and all its child packages are excluded.

The other option is to write a script which traverses a package structure and selectively generates documentation for it using the DocumentGenerator class.

0
votes

You don't want to create a report from the parent package, and you don't want to copy/paste, so try this: create a new package, drag the packages that you wish to report on into the new package, create the report on the new package, drag the packages back where they came from, and delete the new package.