IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
41 stars 140 forks source link

Question - "-outputs" collection created by zAppbuild still empty #284

Open FALLAI-Denis opened 1 year ago

FALLAI-Denis commented 1 year ago

Hi,

In a context of working with Git, I find that zAppbuild creates two collections:

During our tests, we do see these two collections created in the "datameta store", but the "-outputs" collection is still empty.

Is this normal?

What is the role of the "-outputs" collection?

Thanks.

image

image

image

FALLAI-Denis commented 1 year ago

PS :

I think I found the answer: the "-output" collection is intended to store the results of dependencies during the analysis of loadmodules by the LinkEditScanner.

dennis-behm commented 1 year ago

Your observations are correct. The output collection is storing the results from the LinkEditScanner, which allows the impact analysis to find those programs / link cards which include the changed program (through a static call or a link edit statement).

When your applications make use of static calls or link cards, please also have a look to the README about the scanSource and scanOutputs option

FALLAI-Denis commented 1 year ago

Hi,

Maybe it would be better to only create the "outputs" collection when it is needed, i.e. only when running a scan on loadmodule.

Most often this collection is of no interest (at least in our context I have not yet found any interest in it).