Skip to main content
Version: 7.1

Package: Dependency Search

The module searches in the objects of a package for references to objects of other packages. The search includes the attribute and the processes of the objects. The found package references will be stored in a variable object.

Designation​

Name
pm.Requires
Aliases
pm.DependencySearch, DependencySearch, pm.PackageDependencySearch

Configuration​

Variable Object (variable)
Name of the variable object that will be just for storing the data
Variable Source Connection (variable-source)
If given it defines an alternative b4A connection where to find the variable objectMögliche Werte: <TabItem b4A Verbindungen>
XML Variable (xml-variable)
name of the XML variable object used to store the information
Key (xml-variable-key)
key in the XML variable object to use
XML Variable Source Connection (xml-variable-source)
If given it defines an alternative b4A connection where to find the variable objectMögliche Werte: <TabItem b4A Verbindungen>

Output​

The output can be to a static or an XML variable. Theoretically, both at the same time.

Static variable​

The static variable, which contains the result of the analysis, stores the required packages in key and value 1:

XML variable​

If the result is written to an XML variable, the data is saved in the following format.

<best4Automic version="5.3.0">
<pm>
<package name="B4A.BASE">
<dependencies>
<dependency package="SYS.SETTINGS"/>
<dependency package="BBC.SHARED"/>
<dependency package="B4A.BAS"/>
</dependencies>
</package>
</pm>
</best4Automic>