Importing Jar file dependencies - dwagelaar/jar2uml GitHub Wiki
Importing Jar file dependencies
Import Jar File Dependencies is meant to chart only the static dependencies of a Jar file! It will not import the actual contents of the Jar itself. This import mode is meant to be used in combination with the Extracting Platform Dependencies of Third-party Components functionality of the PlatformKit Eclipse Plugin.
- Start by selecting “File → Import…” in the Eclipse menu.
- Select “Jar2UML Import → Import Jar File Dependencies to UML Models” and click “Next”.
- The Jar2UML Import Wizard dialog appears.
- At “Select Jar File(s):”, select the jar files of which you want to reverse engineer the dependencies to UML.
- At “Select Classpath Jar File(s):”, select the jar files of which you want to conditionally reverse engineer the dependencies to UML. Dependencies of classes in a “classpath” jar file are only reverse engineered if the class is referenced by another class file for which the dependencies are already reverse engineered. As such, the dependencies of the transitive closure of referenced class files in the classpath jars will be reverse engineered.
- At “Enter or select the parent folder”, select the folder in the workspace where you want to save your UML model.
- At “New File Name:”, choose a file name for your UML model.
- If the UML model already exists, a warning is displayed, and an option to update the existing model becomes available. Check the option to keep the existing UML model and update its contents. Leave the option unchecked to overwrite the UML model.
- Click “Finish” to create the UML model from the selected jar files.