ModuleDependencyAnalyzer¶
-
MacroModule¶ genre Inspectorsauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddefinition Inspectors.def keywords info,build,system,DLL,installer
Purpose¶
The ModuleDependencyAnalyzer analyzes all dependencies of a single macro module or multiple macro modules.
Usage¶
To analyze a single module switch to the single module mode by unchecking “Scan dependencies of all modules in current network” checkbox. Enter the module’s name in the upper text edit and click the Update button.
To analyze multiple modules, switch to the multiple module mode by checking the “Scan dependencies of all modules in current network” checkbox. Upon clicking the Update button, the dependencies of all modules in the same network as the ModuleDependencyAnalyzer will be analyzed. Entries in the upper text edit will be ignored. This mode makes it easy to analyze the dependencies of multiple modules by dropping them in an empty network, adding the ModuleDependencyAnalyzer and running its analysis.
Example¶
If you open the ModuleDependencyAnalyzer example network, the View2DExtensions network is set in the module text edit, while the “Scan dependencies of all modules in current network” checkbox is unchecked. Beside the ModuleDependencyAnalyzer module itself, two other macro modules are part of the network (View2D and LocalImage).
If you press the Update button, the View2DExtensions network will be analyzed and its dependencies appear in the tabs below.
If you check the “Scan dependencies of all modules in current network” checkbox and click Update, the two other modules View2D and LocalImage dependencies will be analyzed and written to the tabs.
Details¶
The dependency analysis provides lists of modules, DLLs, directories, script files as well as ready-to-use installer script information about the package dependencies. The analysis might be helpful for installer construction.
Tips¶
Although it is possible to analyze atomic modules (all non-macro modules), it does not make much sense, as only the module itself and its DLL will be added to the dependencies.
Windows¶
Default Panel¶
At the top of the panel is the Module input. If you want to analyze a single module, then enter the name of the module here.
Next to the Module input is the Update button. Clicking on it will start the analysis.
If the Scan dependencies of all modules in current network checkbox is unchecked, the module from the Module input is analyzed. If it is checked, it analyzes all modules in the same network as the ModuleDependencyAnalyzer.
Note, that changing the state of this checkbox will only take effect after clicking the Update button.
In the following all the results of the analysis, i.e., the dependencies of the module(s), are described:
Report tab
All detected package directories, DLLs, and used modules are listed here.
Details tab
The dependencies are listed here with more detailes and separated by type.
ScriptFiles tab
All script files are listed here.
AssembleInstaller tab
The assemble installer code to include all detected dependencies is listed here. It is the same code that is generated and used when the installer is build.
Parameter Fields¶
Field Index¶
Visible Fields¶
Update¶
-
name:update, type:Trigger¶ When pressed, the modules will be analyzed and the results will be written to the text edits in the tabs.
Scan dependencies of all modules in current network¶
-
name:scanNetwork, type:Bool, default:FALSE¶ If it is unchecked, the module is run in the single module mode; if it is checked, it is run in the multiple module mode.
The default is unchecked, i.e., single module mode.
Note that changing the state of this checkbox will only take effect after clicking the
Updatebutton.
Ignore dependencies from these packages¶
-
name:ignoredPackages, type:String, default:MeVis/ThirdParty¶
Library Installer Includes For List View¶
-
name:libraryInstallerIncludesForListView, type:String, persistent:no¶
Library Dependencies For List View¶
-
name:libraryDependenciesForListView, type:String, persistent:no¶