Importing Java project dependencies - dwagelaar/jar2uml GitHub Wiki

Importing Java project dependencies

Import Java project dependencies is meant to chart only the static dependencies of a Java project! It will not import the actual contents of the Java project 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 Java project dependencies to UML Models” and click “Next”.
  • The Jar2UML Import Wizard dialog appears.
  • At “Enter or select the parent folder”, select the folder in the workspace where you want to save your UML model. This folder must be – or reside in – a Java project!
  • 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.
  • If you don't want to include any referenced projects and jar files in the Eclipse workspace, then uncheck the “Include referenced projects and jar files in workspace” option.
  • Click “Finish” to create the UML model from the selected jar files.